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

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