diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/SemaCXX/null_in_arithmetic_ops.cpp | 2 | ||||
-rw-r--r-- | test/SemaObjCXX/null_objc_pointer.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/null_in_arithmetic_ops.cpp b/test/SemaCXX/null_in_arithmetic_ops.cpp index 547c936c3e..b0303177c2 100644 --- a/test/SemaCXX/null_in_arithmetic_ops.cpp +++ b/test/SemaCXX/null_in_arithmetic_ops.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -fblocks -verify %s +// RUN: %clang_cc1 -fsyntax-only -fblocks -Wnull-arithmetic -verify %s #include <stddef.h> void f() { diff --git a/test/SemaObjCXX/null_objc_pointer.mm b/test/SemaObjCXX/null_objc_pointer.mm index 1dadabef29..0da9e50f5a 100644 --- a/test/SemaObjCXX/null_objc_pointer.mm +++ b/test/SemaObjCXX/null_objc_pointer.mm @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify %s +// RUN: %clang_cc1 -fsyntax-only -verify -Wnull-arithmetic %s #define NULL __null @interface X |