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
1 /* { dg-do compile } */
2 /* { dg-options "-fpie" { target *-*-darwin* } } */
3 /* { dg-final { scan-assembler "_GLOBAL__I_foobar" } } */
4
5 struct foo { foo (); };
6 foo foobar;