diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 94b23a444f88..ab9679cb5537 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-08-25 Jason Merrill + + * g++.dg/cpp0x/fntmpdefarg3.C: New. + 2012-08-25 Paolo Carlini PR c++/51421 diff --git a/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg3.C b/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg3.C index b664c8d0c6e0..8e9b76fe0e1d 100644 --- a/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg3.C +++ b/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg3.C @@ -2,8 +2,8 @@ template void f(T) {} template void g(T) {} -// template void h(T) {} -// template void i(T) {} +template void h(T) {} +template void i(T) {} template void j(T) {} // { dg-error "this context" } class A @@ -11,8 +11,8 @@ class A typedef int I; // { dg-error "private" } template friend void f(T); friend void g(A); - // friend void h(A); - // friend void i<>(A); + friend void h(A); + friend void i<>(A); }; int main() @@ -20,7 +20,7 @@ int main() A a; f(a); g(a); - // h(a); - // i(a); + h(a); + i(a); j(a); // { dg-error "no match" } }