view gcc/testsuite/g++.dg/Wno-frame-address.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
line wrap: on
line source

// { dg-do compile }
// { dg-skip-if "Cannot access arbitrary stack frames." { arm*-*-* hppa*-*-* ia64-*-* } }
// { 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"