PR lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wdelete-incomplete-3.C
blob2202d60a6f2aa0c81725dcb14317b845ead23035
1 // PR c++/63619
3 int main() {
4    void* p;
5    delete p;    // { dg-warning "undefined" }