c++: P2448 - Relaxing some constexpr restrictions [PR106649]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / deleted11.C
blob9c60af09c21170295d185eabb0a069f2f663a1ba
1 // PR c++/52659
2 // { dg-do compile { target c++11 } }
4 struct sometype {
5   sometype();
6 };
8 sometype::sometype() = delete;  // { dg-error "deleted" }