1 /* Test for unified syntax assembly generation. */ 2 /* { dg-do compile } */ 3 /* { dg-require-effective-target arm_arch_v7a_ok } */ 4 /* { dg-add-options arm_arch_v7a } */ 5 /* { dg-options "-marm -march=armv7-a -masm-syntax-unified" } */ 6 test()7void 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 15