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
This commit is contained in:
parent
74f8062044
commit
42424495b9
2 changed files with 17 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
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.
|
||||
|
|
11
gcc/testsuite/g++.dg/cpp0x/auto35.C
Normal file
11
gcc/testsuite/g++.dg/cpp0x/auto35.C
Normal file
|
@ -0,0 +1,11 @@
|
|||
// 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...>;
|
||||
}
|
Loading…
Add table
Reference in a new issue