MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / main

Function main

tests/CompilerGeneratedHandlerTest.cpp:35–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33};
34
35int main()
36{
37 S s{1};
38
39 S s2 = s;
40 S s3 = std::move(s);
41
42 C c{2};
43
44 C c2 = c;
45 C c3 = std::move(c);
46
47
48 D d{2};
49
50 D d2 = d;
51 D d3 = std::move(d);
52 D d4;
53 d4 = d2;
54
55 SS ss{2};
56
57 SS ss2 = ss;
58 SS ss3 = std::move(ss);
59 SS ss4;
60 ss4 = ss2;
61
62 D* dd = new D{3};
63
64 delete dd;
65
66 E e{6};
67
68}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected