Commit 2a4141aa by Paolo Carlini Committed by Paolo Carlini

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
parent 6ab56804
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.
......
// PR c++/59637
// { dg-do compile { target c++11 } }
template<typename T> void foo(T* p)
{
p->decltype(T{})::~X();
}
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