1struct s { _Complex unsigned short x; };
2struct s gs = { 100 + 200i };
3struct s __attribute__((noinline)) foo (void) { return gs; }
4
5int main ()
6{
7  if (foo ().x != gs.x)
8    abort ();
9  exit (0);
10}
11