hurd: fix compilation of signal.h in C++
[glibc.git] / elf / tst-unique1mod1.c
blobf59029d05533e36a1aa11f1e17e13bc0ee179834
1 #include <config.h>
3 #ifdef HAVE_ASM_UNIQUE_OBJECT
4 asm (".data;"
5 ".globl var\n"
6 ".type var, %gnu_unique_object\n"
7 ".size var, 4\n"
8 "var:.zero 4\n"
9 ".previous");
10 extern int var;
12 int *
13 f (void)
15 var = 1;
16 return &var;
18 #endif