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

Function main

tests/AutoHandler5Test.cpp:3–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1int foo(int a,int b){ return a+b; }
2
3int main(){
4 if(true) {
5 int (*add)(int,int)= foo;
6 // auto within a function pointer
7 auto add1= foo;
8 }
9}
10

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected