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