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

Function main

tests/TypeAliasTest.cpp:1–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1int main()
2{
3 int w = [&]() {
4 using mType = int;
5
6 typedef int xType;
7
8 typedef void (*SignalHandler)(int signum);
9
10 mType x = 1;
11 xType y = 2;
12
13 return x + y;
14 }();
15
16#if 0
17 []() {
18 using fp = int (*)(int, char);
19
20 fp fd = [](auto a, auto b){ return a + b; };
21 }();
22#endif
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected