From: Paolo Carlini Date: Wed, 10 Oct 2012 13:25:34 +0000 (+0000) Subject: re PR c++/53122 (internal compiler error: in unify, at cp/pt.c:15750) X-Git-Tag: misc/gccgo-go1_1_2~266 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42424495b98adeec6a09433bd08e8228722251d7;p=thirdparty%2Fgcc.git re PR c++/53122 (internal compiler error: in unify, at cp/pt.c:15750) 2012-10-10 Paolo Carlini PR c++/53122 * g++.dg/cpp0x/auto35.C: New. From-SVN: r192312 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index efa00b590c95..2d6562470731 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,4 +1,9 @@ -2012-10-09 Dodji Seketeli +2012-10-10 Paolo Carlini + + PR c++/53122 + * g++.dg/cpp0x/auto35.C: New. + +2012-10-10 Dodji Seketeli PR c++/53540 - using fails to be equivalent to typedef * g++.dg/cpp0x/alias-decl-24.C: New test. diff --git a/gcc/testsuite/g++.dg/cpp0x/auto35.C b/gcc/testsuite/g++.dg/cpp0x/auto35.C new file mode 100644 index 000000000000..55eebbeffedc --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/auto35.C @@ -0,0 +1,11 @@ +// PR c++/53122 +// { dg-do compile { target c++11 } } + +template + void foo(Args&&...) { } + +template + void bar(Args&&...) +{ + auto fn = foo; +}