blob: d0c40e23db93f62f6508f993a994a133a8f83189 [file] [log] [blame]
// PR c++/43452
class Foo; // { dg-message "7:forward declaration" }
int main() {
Foo* p; // { dg-warning "9:.p. has incomplete type" }
delete [] p; // { dg-warning "4:possible problem detected in invocation of operator .delete \\\[\\\]." }
// { dg-message "4:neither the destructor nor the class-specific" "note" { target *-*-* } .-1 }
}