1 /* { dg-do compile { target { ! x32 } } } */ 2 /* { dg-require-alias "" } */ 3 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2" } */ 4 /* { dg-final { scan-assembler-not "test.chkp" } } */ 5 6 int test (int *p); 7 extern __typeof (test) test __asm__ ("" "__test") __attribute__ ((visibility ("hidden"))); 8 test(int * p)9int test (int *p) 10 { 11 return *p; 12 } 13 14 extern __typeof (test) __test1 __asm__("" "test"); 15 extern __typeof (test) __test1 __attribute__((alias ("" "__test"))); 16