summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/defaulted26.C
blob: 69bd0accbd4bce8b729803c40f79adba4a86fb99 (plain)
1
2
3
4
5
6
7
// PR c++/49066
// { dg-options -std=c++0x }

void foo() = delete;		// { dg-error "declared here" }
void foo();

int main() { foo(); }		// { dg-error "deleted" }