diff options
Diffstat (limited to 'clang/test/SemaCXX/array-bounds-ptr-arith.cpp')
-rw-r--r-- | clang/test/SemaCXX/array-bounds-ptr-arith.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/array-bounds-ptr-arith.cpp b/clang/test/SemaCXX/array-bounds-ptr-arith.cpp index ce1ace6f2fb..16e2567c53e 100644 --- a/clang/test/SemaCXX/array-bounds-ptr-arith.cpp +++ b/clang/test/SemaCXX/array-bounds-ptr-arith.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -verify -Warray-bounds-pointer-arithmetic %s +// RUN: %clang_cc1 -verify -Wno-string-plus-int -Warray-bounds-pointer-arithmetic %s void swallow (const char *x) { (void)x; } void test_pointer_arithmetic(int n) { |