From: Paolo Carlini Date: Thu, 9 Jan 2014 17:45:55 +0000 (+0000) Subject: re PR c++/59730 (ICE: in type_dependent_expression_p, at cp/pt.c:19969) X-Git-Tag: releases/gcc-4.9.0~1754 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=554b6ea7a8aefb9e2dd37ac914df7b42b17d0a07;p=thirdparty%2Fgcc.git re PR c++/59730 (ICE: in type_dependent_expression_p, at cp/pt.c:19969) 2014-01-09 Paolo Carlini PR c++/59730 * g++.dg/cpp0x/variadic145.C: New. From-SVN: r206473 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0b15ca1a0729..ff63375c41c9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-01-09 Paolo Carlini + + PR c++/59730 + * g++.dg/cpp0x/variadic145.C: New. + 2014-01-09 Uros Bizjak * go.test/go-test.exp (go-gc-tests): Don't run peano.go on systems diff --git a/gcc/testsuite/g++.dg/cpp0x/variadic145.C b/gcc/testsuite/g++.dg/cpp0x/variadic145.C new file mode 100644 index 000000000000..65edda59fd85 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/variadic145.C @@ -0,0 +1,13 @@ +// PR c++/59730 +// { dg-do compile { target c++11 } } + +template void declval(); +template void forward(); +template class D; +template +class D <_Functor(_Bound_args...)> { + template )> + void operator()(...) { + 0(forward<_Args>...); + } +};