modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/pr42248.c (about) 1 typedef struct { 2 _Complex double a; 3 _Complex double b; 4 } Scf10; 5 6 Scf10 g1s; 7 8 void 9 check (Scf10 x, _Complex double y) 10 { 11 if (x.a != y) __builtin_abort (); 12 } 13 14 void 15 init (Scf10 *p, _Complex double y) 16 { 17 p->a = y; 18 } 19 20 int 21 main () 22 { 23 init (&g1s, (_Complex double)1); 24 check (g1s, (_Complex double)1); 25 26 return 0; 27 }