blob: f59029d05533e36a1aa11f1e17e13bc0ee179834 [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 (void)
14{
15 var = 1;
16 return &var;
17}
18#endif