summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wno-frame-address.c
blob: de5a8b8d7bc2110fa9884e5501f89da57295a8dd (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-skip-if "Cannot access arbitrary stack frames" { arm*-*-* hppa*-*-* ia64-*-* visium-*-* } } */
/* { dg-options "-Werror" } */
/* { dg-additional-options "-mbackchain" { target { s390*-*-* } } } */

/* Verify that -Wframe-address is not enabled by default by enabling
   -Werror and verifying the test still compiles.  */
#include "Wframe-address.c"