* g++.dg/init/ref15.C: Require unwrapped targets.

From-SVN: r148110
This commit is contained in:
Mark Mitchell 2009-06-03 00:50:43 +00:00 committed by Mark Mitchell
parent d55a1c921a
commit 7656ecbc77
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-06-02 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/ref15.C: Require unwrapped targets.
2009-06-02 Jason Merrill <jason@redhat.com>
* g++.dg/cpp0x/initlist13.C: Remove expected error.

View File

@ -1,6 +1,8 @@
// PR c++/20416. We correctly constructed the temporary S in foo(),
// but incorrectly destroyed it every time foo() was called.
// { dg-do run }
// When using a wrapped target, there is no way to override the exit
// code after returning from main.
// { dg-do run { target unwrapped } }
extern "C" void abort (void);
extern "C" void _exit (int);