]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/parse12.C
g++-dg.exp (g++-dg-test): Add "repo" option.
[thirdparty/gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / parse12.C
index eb71775bcf0023494184b02bf46030ea9555ed57..8988cebc8a4a37056c413e785cd7732ff06d4589 100644 (file)
@@ -1,3 +1,4 @@
+// { dg-do run  }
 // PRMS Id: 6821
 
 struct A {
@@ -6,7 +7,7 @@ struct A {
 
 struct B {
   A* p;
-  int f () { return (*p)(42); }        // gets bogus error
+  int f () { return (*p)(42); }        // { dg-bogus "" } 
 };
 
 int main ()