aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/defaulted26.C
blob: f14a0e8855e2b55d0392b7162f1bdb52cee0271a (plain)
1
2
3
4
5
6
7
// PR c++/49066
// { dg-do compile { target c++11 } }

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

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