diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:05:08 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:05:08 +0000 |
commit | 0646903fc1f75f6e605754621119473ee083f4a4 (patch) | |
tree | 57bce79a7423a054cccec23bdf6cd96e2d271b4a /test/ubsan/TestCases/Pointer/index-overflow.cpp | |
parent | 005b7ed8f76756d94ef6266ded755ab7863cb936 (diff) |
Diffstat (limited to 'test/ubsan/TestCases/Pointer/index-overflow.cpp')
-rw-r--r-- | test/ubsan/TestCases/Pointer/index-overflow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ubsan/TestCases/Pointer/index-overflow.cpp b/test/ubsan/TestCases/Pointer/index-overflow.cpp index eb7f95e85c2c..f9b1fea08c94 100644 --- a/test/ubsan/TestCases/Pointer/index-overflow.cpp +++ b/test/ubsan/TestCases/Pointer/index-overflow.cpp @@ -1,7 +1,7 @@ // RUN: %clangxx -fsanitize=pointer-overflow %s -o %t -// RUN: %t 1 2>&1 | FileCheck %s --check-prefix=ERR -// RUN: %t 0 2>&1 | FileCheck %s --check-prefix=SAFE -// RUN: %t -1 2>&1 | FileCheck %s --check-prefix=SAFE +// RUN: %run %t 1 2>&1 | FileCheck %s --check-prefix=ERR +// RUN: %run %t 0 2>&1 | FileCheck %s --check-prefix=SAFE +// RUN: %run %t -1 2>&1 | FileCheck %s --check-prefix=SAFE #include <stdio.h> #include <stdint.h> |