* g++.dg/init/ref15.C: Require unwrapped targets.
authorMark Mitchell <mark@codesourcery.com>
Wed, 3 Jun 2009 00:50:43 +0000 (00:50 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 3 Jun 2009 00:50:43 +0000 (00:50 +0000)
From-SVN: r148110

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/ref15.C

index fda5ce3068b57e599db6afe820ae02f7374a4bc8..ddfd088b037461d1b78ba890c27bdde2452f1f51 100644 (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.
index d3a94227fd0b9d1217b2d1a493f4960760fa6ea5..bc9c01dc229bf72247589a6aa6ba73a3b2000b1f 100644 (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);