Fix BZ #17905
[glibc.git] / elf / tst-unique2mod2.c
blobaa28f29ba9453b4cf15583653a595bd63e39ca43
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 (int *p)
15 return &var != p || *p != 1;
17 #endif