[testsuite] Fix directives order
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / volatile-bitfields-2.c
blobc7a9ebaa2b8ff2223dc5539412b833279d4be6f1
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 typedef struct {
5 volatile unsigned long a:8;
6 volatile unsigned long b:8;
7 volatile unsigned long c:16;
8 } BitStruct;
10 BitStruct bits;
12 unsigned long foo ()
14 return bits.b;
17 /* { dg-final { scan-assembler "ldr\[\\t \]+\[^\n\]*,\[\\t \]*\\\[\[^\n\]*\\\]" } } */