]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/pr58563.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr58563.C
CommitLineData
43939071
PC
1// PR c++/58563
2// { dg-do compile { target c++11 } }
3
4template<int> void foo()
5{
6 enum E {};
7 E().E::~T(); // { dg-error "not a class" }
8}
This page took 4.986318 seconds and 5 git commands to generate.