diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/g++.dg/other/first-global.C')
-rw-r--r-- | gcc-4.9/gcc/testsuite/g++.dg/other/first-global.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/g++.dg/other/first-global.C b/gcc-4.9/gcc/testsuite/g++.dg/other/first-global.C new file mode 100644 index 000000000..d58bc7164 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/g++.dg/other/first-global.C @@ -0,0 +1,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; |