PR lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git] / gcc / testsuite / g++.dg / Wno-frame-address.C
bloba2df034fac7cb7fea1c14be0d3f10ae1025f9cf9
1 // { dg-do compile }
2 // { dg-skip-if "Cannot access arbitrary stack frames." { arm*-*-* hppa*-*-* ia64-*-* } }
3 // { dg-options "-Werror" }
4 // { dg-additional-options "-mbackchain" { target s390*-*-* } }
6 // Verify that -Wframe-address is not enabled by default by enabling
7 // -Werror and verifying the test still compiles.
8 #include "Wframe-address.C"