1*67e74705SXin Li /* RUN: cp %s %t 2*67e74705SXin Li RUN: %clang_cc1 -std=c90 -pedantic -fixit %t 3*67e74705SXin Li RUN: %clang_cc1 -pedantic -x c -std=c90 -Werror %t 4*67e74705SXin Li */ 5*67e74705SXin Li /* 6*67e74705SXin Li This test passes because clang merely warns for this syntax error even with 7*67e74705SXin Li -pedantic -Werror -std=c90. 8*67e74705SXin Li */ 9*67e74705SXin Li 10*67e74705SXin Li /* This is a test of the various code modification hints that are 11*67e74705SXin Li provided as part of warning or extension diagnostics. All of the 12*67e74705SXin Li warnings will be fixed by -fixit, and the resulting file should 13*67e74705SXin Li compile cleanly with -Werror -pedantic. */ 14*67e74705SXin Li 15*67e74705SXin Li enum e0 { 16*67e74705SXin Li e1, 17*67e74705SXin Li }; 18