brintos

brintos / llvm-project-archived public Read only

0
0
Text · 508 B · 5e9d5a1 Raw
18 lines · c
1/* RUN: cp %s %t2   RUN: %clang_cc1 -std=c90 -pedantic -fixit %t3   RUN: %clang_cc1 -pedantic -x c -std=c90 -Werror %t4 */5/*6   This test passes because clang merely warns for this syntax error even with7   -pedantic -Werror -std=c90.8 */9 10/* This is a test of the various code modification hints that are11   provided as part of warning or extension diagnostics. All of the12   warnings will be fixed by -fixit, and the resulting file should13   compile cleanly with -Werror -pedantic. */14 15enum e0 {16  e1,17};18