view gcc/testsuite/gcc.dg/Werror-13.c @ 111:04ced10e8804

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

/* { dg-do compile } */
/* { dg-options "-Werror=error -Werror=p, -Werror=l, -Werror=fatal-errors" } */
/* { dg-error "-Wp, is not an option that controls warnings" "" { target *-*-* } 0 } */
/* { dg-error "-Wl, is not an option that controls warnings" "" { target *-*-* } 0 } */
/* { dg-error "-Werror is not an option that controls warnings" "" { target *-*-* } 0 } */
/* { dg-error "-Wfatal-errors is not an option that controls warnings" "" { target *-*-* } 0 } */

int i;