1ba5f6eced29937e4e4851a2c0980744768413d66Nick Lewycky/* RUN: cp %s %t
2ba5f6eced29937e4e4851a2c0980744768413d66Nick Lewycky   RUN: %clang_cc1 -std=c90 -pedantic -fixit %t
3ba5f6eced29937e4e4851a2c0980744768413d66Nick Lewycky   RUN: %clang_cc1 -pedantic -x c -std=c90 -Werror %t
4ba5f6eced29937e4e4851a2c0980744768413d66Nick Lewycky */
53d115cfd1b9c48155d478b1f2f14dba1b6ba9a91Dmitri Gribenko/*
6ba5f6eced29937e4e4851a2c0980744768413d66Nick Lewycky   This test passes because clang merely warns for this syntax error even with
7ba5f6eced29937e4e4851a2c0980744768413d66Nick Lewycky   -pedantic -Werror -std=c90.
89b3064b55f3c858923734e8b1c9831777fc22554Douglas Gregor */
9fe057ac36b9a76cdfa37dfa003f986461fb5fb98Douglas Gregor
109b3064b55f3c858923734e8b1c9831777fc22554Douglas Gregor/* This is a test of the various code modification hints that are
11fe057ac36b9a76cdfa37dfa003f986461fb5fb98Douglas Gregor   provided as part of warning or extension diagnostics. All of the
12fe057ac36b9a76cdfa37dfa003f986461fb5fb98Douglas Gregor   warnings will be fixed by -fixit, and the resulting file should
13fe057ac36b9a76cdfa37dfa003f986461fb5fb98Douglas Gregor   compile cleanly with -Werror -pedantic. */
149b3064b55f3c858923734e8b1c9831777fc22554Douglas Gregor
159b3064b55f3c858923734e8b1c9831777fc22554Douglas Gregorenum e0 {
169b3064b55f3c858923734e8b1c9831777fc22554Douglas Gregor  e1,
179b3064b55f3c858923734e8b1c9831777fc22554Douglas Gregor};
18