repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wdelete-incomplete-1.C
blob
729ea21017bf81425e6e50651aee7ec33b8a1e41
1
// PR c++/43452
2
3
class Foo; // { dg-message "forward" }
4
int main() {
5
Foo* p; // { dg-warning "incomplete" }
6
delete [] p; // { dg-warning "problem" }
7
}