Revert DECL_USER_ALIGN part of r241959
[official-gcc.git] / gcc / testsuite / gcc.dg / globalalias-2.c
blobab6db292e6940fdc80bfe8138f3919f9941cc87e
1 /* { dg-require-alias "" } */
2 int test2count;
3 extern void abort (void);
4 static
5 void test(void)
7 test2count++;
9 __attribute__ ((weak,noinline))
10 __attribute ((alias("test")))
11 void test2(void);
13 void tt()
15 int prev = test2count;
16 /* This call must bind locally. */
17 test();
18 if (test2count == prev)
19 abort();
20 test2();