OSDN Git Service

* g++.dg/other/first-global.C: Add -fpie for darwin.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / first-global.C
index b50f326..81e7a96 100644 (file)
@@ -1,4 +1,6 @@
 /* { dg-do compile } */
+/* { dg-options "-fpie" { target *-*-darwin* } } */
 /* { dg-final { scan-assembler "_GLOBAL__I_foobar" } } */
+
 struct foo { foo (); };
 foo foobar;