blob: 7036b08022c01525db450ccaadf3abf41822e23a [file] [log] [blame]
Daniel Dunbar73dd7682009-11-14 04:39:42 +00001/* RUN: clang-cc -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};