OSDN Git Service

2009-10-16 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / lto / 20081222_1.c
1 #include "20081222_0.h"
2
3 /* Actually, call "x" "INT_X", and make it hidden.  */
4 extern __typeof (x) x
5         __asm__ ("INT_x")
6         __attribute__ ((__visibility__ ("hidden")));
7
8 int x ()
9 {
10   return 7;
11 }
12
13 /* Make an externally-visible symbol "X" that's an alias for INT_x.  */
14 extern __typeof (x) EXT_x
15         __asm__ ("x")
16         __attribute__ ((__alias__ ("INT_x")));