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

Function main

tests/ImplicitValueInitExprTest.cpp:45–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43};
44
45int main()
46{
47 std::array<int, 10> arr{};
48
49 Point array[10] = { [2].y = 1.0, [2].x = 2.0, [0].x = 1.0 };
50
51 Float ff{};
52 Char c{};
53
54 Bool b{};
55 Pointer p{};
56
57 Ints i{};
58
59 Complex cc[5] = { [2].fc = 1.0, [2].ic = 3, [0].ic = 22 };
60}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected