OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / static11.C
index cb5ee3a..867436a 100644 (file)
@@ -2,7 +2,7 @@
 // in their dejagnu baseboard description) require that the status is
 // final when exit is entered (or main returns), and not "overruled" by a
 // destructor calling _exit.  It's not really worth it to handle that.
-// { dg-do run { xfail mmix-knuth-mmixware xtensa-*-elf* arm*-*-elf } }
+// { dg-do run { target unwrapped } }
 
 // Bug: g++ was failing to destroy C<int>::a because it was using two
 // different sentry variables for construction and destruction.
@@ -13,7 +13,7 @@ int r = 1;
 
 struct A
 {
-  void f(){};
+  void f(){}
   A(){ ++r; }
   ~A(){ r -= 2; _exit (r); }
 };