modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/20060419-1.c (about) 1 /* This failed because if conversion didn't handle insv patterns properly. */ 2 3 union y 4 { 5 int a; 6 unsigned short b; 7 }; 8 9 extern void bar (unsigned short u, union y v); 10 11 void 12 foo (int check) 13 { 14 union y x; 15 16 if (check != 0) 17 x.b = 1; 18 else 19 x.b = 2; 20 bar (x.b, x); 21 }