summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/first-global.C
blob: d58bc7164ae8d8a0e75cfdfe65754a0aae5346c1 (plain)
1
2
3
4
5
6
/* { dg-do compile } */
/* { dg-add-options bind_pic_locally } */
/* { dg-final { scan-assembler "_GLOBAL__(I|sub_I)(_|_65535_0_)foobar" } } */

struct foo { foo (); };
foo foobar;