1 // RUN: clang-cc -pedantic -fixit %s -o - | clang-cc -pedantic -Werror -x c -
3 /* This is a test of the various code modification hints that are
4 provided as part of warning or extension diagnostics. All of the
5 warnings will be fixed by -fixit, and the resulting file should
6 compile cleanly with -Werror -pedantic. */
8 // FIXME: If you put a space at the end of the line, it doesn't work yet!
12 // The following line isn't terminated, don't fix it.
13 int i; // expected-error{{no newline at end of file}}