1 /* { dg-do compile } */ 2 /* { dg-options "-O1 */ 3 4 #define __aux(r) __attribute__((aux(r))) 5 static volatile __aux(0x1000) int var; 6 foo(void)7int foo (void) 8 { 9 var++; 10 } 11 12 /* { dg-final { scan-assembler-times "sr" 1 } } */ 13 /* { dg-final { scan-assembler-times "lr" 1 } } */ 14 /* { dg-final { scan-assembler "4096" } } */ 15 /* { dg-final { scan-assembler-not "\\.type\tvar, @object" } } */ 16