2 RUN: %clang_cc1 -std=c90 -pedantic -fixit %t
3 RUN: %clang_cc1 -pedantic -x c -std=c90 -Werror %t
6 This test passes because clang merely warns for this syntax error even with
7 -pedantic -Werror -std=c90.
10 /* This is a test of the various code modification hints that are
11 provided as part of warning or extension diagnostics. All of the
12 warnings will be fixed by -fixit, and the resulting file should
13 compile cleanly with -Werror -pedantic. */