diff options
Diffstat (limited to 'test/FixIt/fixit-c90.c')
-rw-r--r-- | test/FixIt/fixit-c90.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/FixIt/fixit-c90.c b/test/FixIt/fixit-c90.c index e84733f..0bc1fad 100644 --- a/test/FixIt/fixit-c90.c +++ b/test/FixIt/fixit-c90.c @@ -1,4 +1,10 @@ -/* RUN: %clang_cc1 -std=c90 -pedantic -fixit %s -o - | %clang_cc1 -pedantic -x c -std=c90 -Werror - +/* RUN: cp %s %t + RUN: %clang_cc1 -std=c90 -pedantic -fixit %t + RUN: %clang_cc1 -pedantic -x c -std=c90 -Werror %t + */ +/* XPASS: * + This test passes because clang merely warns for this syntax error even with + -pedantic -Werror -std=c90. */ /* This is a test of the various code modification hints that are |