X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fother%2Ffirst-global.C;h=81e7a96e2e0907bdc0352f539e1e288babde7f1d;hp=b50f3266b5de4e4401206be56f078cebcaa751fb;hb=f59e0622edfeec49ef69d6c00121e8f248dbf4cc;hpb=205710bf12b6e747874fcd830867c993de3d2a32 diff --git a/gcc/testsuite/g++.dg/other/first-global.C b/gcc/testsuite/g++.dg/other/first-global.C index b50f3266b5d..81e7a96e2e0 100644 --- a/gcc/testsuite/g++.dg/other/first-global.C +++ b/gcc/testsuite/g++.dg/other/first-global.C @@ -1,4 +1,6 @@ /* { dg-do compile } */ +/* { dg-options "-fpie" { target *-*-darwin* } } */ /* { dg-final { scan-assembler "_GLOBAL__I_foobar" } } */ + struct foo { foo (); }; foo foobar;