summaryrefslogtreecommitdiff
path: root/test/ubsan
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2017-03-22 19:15:24 +0000
committerNico Weber <nicolasweber@gmx.de>2017-03-22 19:15:24 +0000
commit5d7bda47b5326f934ed14e83743461f995c2d229 (patch)
tree9bad21780c717080c34f8433eeb14a60ba1af2f4 /test/ubsan
parent65ede46c9b256dd0276361730dbac8b64de259a5 (diff)
Make nullability test pass on Windows, which evaluates parameters right-to-left.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@298539 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ubsan')
-rw-r--r--test/ubsan/TestCases/Misc/nullability.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/ubsan/TestCases/Misc/nullability.c b/test/ubsan/TestCases/Misc/nullability.c
index 37b8ddc8d..583b8ec12 100644
--- a/test/ubsan/TestCases/Misc/nullability.c
+++ b/test/ubsan/TestCases/Misc/nullability.c
@@ -6,8 +6,6 @@
// CHECK-NEXT: nullability.c:[[@LINE+1]]:6: note: _Nonnull return type annotation specified here
int *_Nonnull nonnull_retval1(int *p) { return p; }
-// CHECK: nullability.c:1001:19: runtime error: null pointer passed as argument 1, which is declared to never be null
-// CHECK-NEXT: nullability.c:[[@LINE+3]]:36: note: _Nonnull type annotation specified here
// CHECK: nullability.c:1001:22: runtime error: null pointer passed as argument 2, which is declared to never be null
// CHECK-NEXT: nullability.c:[[@LINE+1]]:56: note: _Nonnull type annotation specified here
int *_Nonnull nonnull_retval2(int *_Nonnull arg1, int *_Nonnull arg2,