Debian Codegraph @

clang/test/Analysis/Inputs/ctu-import.c

raw
1
2 // Use an internal, implicitly defined type, called by
3 // a function imported for CTU. This should not crash.
4 int foo(void);
5 int foobar(int skip) {
6 __NSConstantString str = {.flags = 1};
7
8 if (str.flags >= 0)
9 str.flags = 0;
10 return 4;
11 }
12
13 int testStaticImplicit(void) {
14 return foobar(3);
15 }