From: Jason Merrill Date: Sun, 26 Aug 2012 03:50:56 +0000 (-0400) Subject: * g++.dg/cpp0x/fntmpdefarg3.C: New. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=645acb6b9bf69c3a528f1b0d7f410b7156e0d156;p=gcc.git * g++.dg/cpp0x/fntmpdefarg3.C: New. From-SVN: r190683 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 94b23a444f8..ab9679cb553 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 b664c8d0c6e..8e9b76fe0e1 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" } }