diff options
author | Richard Trieu <rtrieu@google.com> | 2011-10-13 23:26:59 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2011-10-13 23:26:59 +0000 |
commit | 6bb41d914497171921e0cc5ea4303ed362e00179 (patch) | |
tree | 1862f9feb27536ade8778bb5f266078661cc5a91 /clang/test/SemaCXX/delete.cpp | |
parent | a7a90bfdab65e332363ff9a2acd2cdf854a78dc5 (diff) | |
download | bcm5719-llvm-6bb41d914497171921e0cc5ea4303ed362e00179.tar.gz bcm5719-llvm-6bb41d914497171921e0cc5ea4303ed362e00179.zip |
Fix a test case where FileCheck is used to test code corrected by -fixit.
If the code file is not run through the preproccessor to remove comments,
then FileCheck will match the strings within the CHECK commands rendering
the test useless.
llvm-svn: 141911
Diffstat (limited to 'clang/test/SemaCXX/delete.cpp')
-rw-r--r-- | clang/test/SemaCXX/delete.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/delete.cpp b/clang/test/SemaCXX/delete.cpp index 4567888a37b..5824facc507 100644 --- a/clang/test/SemaCXX/delete.cpp +++ b/clang/test/SemaCXX/delete.cpp @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // RUN: cp %s %t // RUN: %clang_cc1 -fixit -x c++ %t -// RUN: FileCheck -input-file=%t %s +// RUN: %clang_cc1 -E -o - %t | FileCheck %s void f(int a[10][20]) { // CHECK: delete[] a; |