PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20100316-1.c
blob8367d7273d2fe6b65683937671ac2d4f2c20e2da
1 struct Foo {
2 int i;
3 unsigned precision : 10;
4 unsigned blah : 3;
5 } f;
7 int __attribute__((noinline,noclone))
8 foo (struct Foo *p)
10 struct Foo *q = p;
11 return (*q).precision;
14 extern void abort (void);
16 int main()
18 f.i = -1;
19 f.precision = 0;
20 f.blah = -1;
21 if (foo (&f) != 0)
22 abort ();
23 return 0;