gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c
raw| 1 | /* Test for unified syntax assembly generation. */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-require-effective-target arm_arch_v7a_ok } */ |
| 4 | /* { dg-options "-marm -masm-syntax-unified" } */ |
| 5 | /* { dg-add-options arm_arch_v7a } */ |
| 6 | |
| 7 | void test () |
| 8 | { |
| 9 | asm("nop"); |
| 10 | } |
| 11 | |
| 12 | /* { dg-final { scan-assembler-times {\.syntax\sunified} 3 } } */ |
| 13 | /* { dg-final { scan-assembler-not {\.syntax\sdivided} } } */ |
| 14 |