diff options
Diffstat (limited to 'REORG.TODO/elf/tst-unique2mod2.c')
-rw-r--r-- | REORG.TODO/elf/tst-unique2mod2.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/REORG.TODO/elf/tst-unique2mod2.c b/REORG.TODO/elf/tst-unique2mod2.c new file mode 100644 index 0000000000..126ca1ac6c --- /dev/null +++ b/REORG.TODO/elf/tst-unique2mod2.c @@ -0,0 +1,15 @@ +#include <config.h> + +asm (".data;" + ".globl var\n" + ".type var, %gnu_unique_object\n" + ".size var, 4\n" + "var:.zero 4\n" + ".previous"); +extern int var; + +int +f (int *p) +{ + return &var != p || *p != 1; +} |