brintos

brintos / llvm-project-archived public Read only

0
0
Text · 556 B · 0dbbe19 Raw
16 lines · c
1// RUN: cp %s %t2// RUN: %clang_cc1 -pedantic -fixit %t3// RUN: %clang_cc1 -pedantic -Werror -x c %t4 5/* This is a test of the various code modification hints that are6   provided as part of warning or extension diagnostics. All of the7   warnings will be fixed by -fixit, and the resulting file should8   compile cleanly with -Werror -pedantic. */9 10// FIXME: If you put a space at the end of the line, it doesn't work yet!11char *s = "hi\12there";13 14// The following line isn't terminated, don't fix it.15int i; // expected-error{{no newline at end of file}}16