Daniel Dunbar | 73dd768 | 2009-11-14 04:39:42 +0000 | [diff] [blame] | 1 | /* RUN: clang-cc -std=c90 -pedantic -fixit %s -o - | clang-cc -pedantic -x c -std=c90 -Werror - |
Douglas Gregor | 9b3064b | 2009-04-01 22:41:11 +0000 | [diff] [blame] | 2 | */ |
Douglas Gregor | fe057ac | 2009-04-02 03:20:30 +0000 | [diff] [blame] | 3 | |
Douglas Gregor | 9b3064b | 2009-04-01 22:41:11 +0000 | [diff] [blame] | 4 | /* This is a test of the various code modification hints that are |
Douglas Gregor | fe057ac | 2009-04-02 03:20:30 +0000 | [diff] [blame] | 5 | 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 Gregor | 9b3064b | 2009-04-01 22:41:11 +0000 | [diff] [blame] | 8 | |
| 9 | enum e0 { |
| 10 | e1, |
| 11 | }; |