PR c++/85765 - SFINAE and non-type default template arg.
[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" }