Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted26.C
blob: f14a0e8855e2b55d0392b7162f1bdb52cee0271a [
file
] [
log
] [
blame
]
// PR c++/49066
// { dg-do compile { target c++11 } }
void
foo
()
=
delete
;
// { dg-message "declared here" }
void
foo
();
int
main
()
{
foo
();
}
// { dg-error "deleted" }