OSDN Git Service

2010-02-27 Mark Mitchell <mark@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / pr35240.C
index 9b95799..47455b6 100644 (file)
@@ -4,9 +4,9 @@
 
 template<int> struct A {};
 
 
 template<int> struct A {};
 
-template<int N> A<sizeof(new int[N][N])> foo();
+template<int N> A<sizeof(new int[N][N])> foo(); // { dg-message "unimplemented" }
 
 void bar()
 {
 
 void bar()
 {
-  foo<1>(); // { dg-message "unimplemented" }
+  foo<1>(); // { dg-message "instantiated" }
 }
 }