summaryrefslogtreecommitdiff
path: root/test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-08-02 18:10:36 +0000
committerVedant Kumar <vsk@apple.com>2017-08-02 18:10:36 +0000
commit62abea7849ec96360b0c45e82d92c2a206200d5b (patch)
treed43ec6e1d04b5133f40cfaed8c542c718937af51 /test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp
parente18e52ff1c30d465661ecbd4bd873762ca70688a (diff)
[ubsan] Test -fsanitize=vptr without -fsanitize=null
This reverts commit r309042, thereby adding a test for -fsanitize=vptr functionality without -fsanitize=null. It also removes -fsanitize=null from another -fsanitize=vptr test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@309847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp')
-rw-r--r--test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp b/test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp
index b20ac73aa..e026e8d05 100644
--- a/test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp
+++ b/test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp
@@ -1,4 +1,4 @@
-// RUN: %clangxx -std=c++11 -frtti -fsanitize=vptr,null -g %s -O3 -o %t
+// RUN: %clangxx -std=c++11 -frtti -fsanitize=vptr -g %s -O3 -o %t
// RUN: %run %t &> %t.log
// RUN: cat %t.log | not count 0 && FileCheck --input-file %t.log %s || cat %t.log | count 0