PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr32244-1.c
blobafad25650c445c0182ef8e6e67d2ec458dd64fe3
1 struct foo
3 unsigned long long b:40;
4 } x;
6 extern void abort (void);
8 void test1(unsigned long long res)
10 /* The shift is carried out in 40 bit precision. */
11 if (x.b<<32 != res)
12 abort ();
15 int main()
17 x.b = 0x0100;
18 test1(0);
19 return 0;