Commit 549c8038 by Mike Stump Committed by Mike Stump

* g++.dg/other/first-global.C: Add -fpie for darwin.

From-SVN: r124580
parent 4575a800
2007-05-09 Mike Stump <mrs@apple.com>
* g++.dg/other/first-global.C: Add -fpie for darwin.
2007-05-09 Andreas Krebbel <krebbel1@de.ibm.com> 2007-05-09 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.dg/20070507-1.c: New testcase. * gcc.dg/20070507-1.c: New testcase.
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-fpie" { target *-*-darwin* } } */
/* { dg-final { scan-assembler "_GLOBAL__I_foobar" } } */ /* { dg-final { scan-assembler "_GLOBAL__I_foobar" } } */
struct foo { foo (); }; struct foo { foo (); };
foo foobar; foo foobar;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment