PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / extract-5.c
bloba488dafa20fe0dc5dc8e3225df4ca5bbe86e0545
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mtune=generic" } */
4 typedef struct
6 unsigned int c1:8;
7 unsigned int c2:8;
8 unsigned int c3:8;
9 unsigned int c4:8;
10 } foo_t;
12 int
13 #ifndef __x86_64__
14 __attribute__((regparm(3)))
15 #endif
16 foo (foo_t x)
18 return x.c2 != 0;
21 /* { dg-final { scan-assembler-not "test\[b\]?\[^\\n\]*%\[a-z0-9\]+l" } } */