Commit 42424495 by Paolo Carlini

re PR c++/53122 (internal compiler error: in unify, at cp/pt.c:15750)

2012-10-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/53122
	* g++.dg/cpp0x/auto35.C: New.

From-SVN: r192312
parent 74f80620
2012-10-09 Dodji Seketeli <dodji@redhat.com>
2012-10-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53122
* g++.dg/cpp0x/auto35.C: New.
2012-10-10 Dodji Seketeli <dodji@redhat.com>
PR c++/53540 - using fails to be equivalent to typedef
* g++.dg/cpp0x/alias-decl-24.C: New test.
......
// PR c++/53122
// { dg-do compile { target c++11 } }
template<typename... Args>
void foo(Args&&...) { }
template<typename... Args>
void bar(Args&&...)
{
auto fn = foo<Args...>;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment