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