OSDN Git Service

* g++.dg/parse/repo1.C: Use cleanup-repo-files.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / instantiate4.C
index 6cf4118..031b6ba 100644 (file)
@@ -1,12 +1,11 @@
+// { dg-do link }
+// { dg-options "-frepo -Werror" }
 // Build then link:
 
-// Special g++ Options: -frepo -Werror
 
 // Submitted by Melissa O'Neill <oneill@cs.sfu.ca>
 // the vtable of Foo<int> wouldn't be generated
 
-// excess errors test - XFAIL *-*-*
-
 template <typename A>
 struct Foo {
    virtual void foo() {}
@@ -27,3 +26,5 @@ int main () {
     
     rab.bar();
 }
+
+// { dg-final { cleanup-repo-files } }