PR c++/67273
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr42879.c
blob9fcdad694a30b3b6ee07c16c804431dc98fe4e8e
1 /* { dg-require-effective-target arm_thumb2_ok } */
2 /* { dg-options "-mthumb -Os" } */
3 /* { dg-final { scan-assembler "lsls" } } */
5 struct A
7 #ifdef __ARMEB__
8 int dummy:31;
9 #endif
10 int v:1;
13 int bar();
14 int foo(struct A* p)
16 if (p->v)
17 return 1;
18 return bar();