blob: aa28f29ba9453b4cf15583653a595bd63e39ca43 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include <config.h>
2
3#ifdef HAVE_ASM_UNIQUE_OBJECT
4asm (".data;"
5 ".globl var\n"
6 ".type var, %gnu_unique_object\n"
7 ".size var, 4\n"
8 "var:.zero 4\n"
9 ".previous");
10extern int var;
11
12int
13f (int *p)
14{
15 return &var != p || *p != 1;
16}
17#endif