re PR c++/59637 ([c++11] ICE with decltype and destructor call in template)
2014-07-01 Paolo Carlini <paolo.carlini@oracle.com> PR c++/59637 * g++.dg/cpp0x/decltype60.C: New. From-SVN: r212205
This commit is contained in:
parent
6ab56804d0
commit
2a4141aa0d
@ -1,3 +1,8 @@
|
||||
2014-07-01 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/59637
|
||||
* g++.dg/cpp0x/decltype60.C: New.
|
||||
|
||||
2014-07-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||
|
||||
* gcc.target/aarch64/simd/vcage_f64.c: New test.
|
||||
|
7
gcc/testsuite/g++.dg/cpp0x/decltype60.C
Normal file
7
gcc/testsuite/g++.dg/cpp0x/decltype60.C
Normal file
@ -0,0 +1,7 @@
|
||||
// PR c++/59637
|
||||
// { dg-do compile { target c++11 } }
|
||||
|
||||
template<typename T> void foo(T* p)
|
||||
{
|
||||
p->decltype(T{})::~X();
|
||||
}
|
Loading…
Reference in New Issue
Block a user