blob: 03c94953db4e99fc7bbc68f7cbe395e07428e791 [file] [log] [blame]
Douglas Gregoref5cc752009-04-02 04:59:27 +00001/* RUN: clang-cc -fsyntax-only -std=c90 -pedantic -fixit %s -o - | clang-cc -pedantic -x c -std=c90 -Werror -
Douglas Gregor9b3064b2009-04-01 22:41:11 +00002 */
Douglas Gregorfe057ac2009-04-02 03:20:30 +00003
Douglas Gregor9b3064b2009-04-01 22:41:11 +00004/* This is a test of the various code modification hints that are
Douglas Gregorfe057ac2009-04-02 03:20:30 +00005 provided as part of warning or extension diagnostics. All of the
6 warnings will be fixed by -fixit, and the resulting file should
7 compile cleanly with -Werror -pedantic. */
Douglas Gregor9b3064b2009-04-01 22:41:11 +00008
9enum e0 {
10 e1,
11};