OSDN Git Service

PR testsuite/25241
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / ptrmem1.C
index e14c726..8ebc61c 100644 (file)
@@ -1,3 +1,4 @@
+// { dg-do run  }
 class foo
 {
 public:
@@ -10,7 +11,7 @@ main()
 {
   foo f;
   
-  int (foo::*s)() = &foo::template bar<int>;
+  int (foo::*s)() = &foo::bar<int>;
   if ((f.*s)() == 7)
     return 0;
   else