OSDN Git Service

* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / rfg5.C
index 8d0cfb5..11ee9c0 100644 (file)
@@ -1,11 +1,11 @@
+// { dg-do assemble  }
+// { dg-options "-ansi -pedantic-errors -w" }
 // Bug: func is treated as an overloaded function when it isn't.
-// Build don't link:
-// Special g++ Options: -ansi -pedantic-errors -w
 
 int *func () { return 0; }
 
 void
 test ()
 {
-  *func;                       // gets bogus error - improper overloading
+  *func;                       // { dg-bogus "" } improper overloading
 }