brintos

brintos / llvm-project-archived public Read only

0
0
Text · 300 B · 6c99a36 Raw
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