Add tests for recent getopt changes.
[glibc.git] / elf / tst-unique1mod2.c
blobc07551582793149e002bf8754565dbc73ef10137
1 #include <config.h>
3 #ifdef HAVE_ASM_UNIQUE_OBJECT
4 # define S(s) _S (s)
5 # define _S(s) #s
7 asm (".data;"
8 S (ASM_GLOBAL_DIRECTIVE) " var\n"
9 ".type var, " S (ASM_TYPE_DIRECTIVE_PREFIX) "gnu_unique_object\n"
10 ".size var, 4\n"
11 "var:.zero 4\n"
12 ".previous");
13 extern int var;
15 int
16 f (int *p)
18 return &var != p || *p != 1;
20 #endif