ext-cryptopp/TestPrograms/test_cxx11_deletefn.cpp

11 lines
132 B
C++

struct S {
S() = delete;
explicit S(int n) { }
};
int main (int argc, char* rgv[])
{
S s(1);
return 0;
}