17 lines · c
1// RUN: %clang_cc1 -emit-llvm %s -o -2// PR17083 4void __attribute__((noreturn)) abort(void);5void __attribute__((noreturn)) exit(int);6 7struct s { _Complex unsigned short x; };8struct s gs = { 100 + 200i };9struct s __attribute__((noinline)) foo (void) { return gs; }10 11int main (void)12{13 if (foo ().x != gs.x)14 abort ();15 exit (0);16}17