gcc/testsuite/g++.dg/Wno-frame-address.C
raw| 1 | // { dg-do compile } |
| 2 | // { dg-skip-if "Cannot access arbitrary stack frames." { arm*-*-* hppa*-*-* ia64-*-* csky*-*-* } } |
| 3 | // { dg-options "-Werror" } |
| 4 | // { dg-additional-options "-mbackchain" { target s390*-*-* } } |
| 5 | |
| 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" |