forked from OSchip/llvm-project
Explicitly set C++ standard for `Posix/no-fd.cc` ASan test.
Summary: The test uses `nullptr` which can break running the test if the compiler happens to be using something older than C++11 as the default language standard. Avoid this by explicitly setting the standard. rdar://problem/47253542 Reviewers: eugenis, yln, vitalybuka Subscribers: kubamracek, #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D56667 llvm-svn: 351169
This commit is contained in:
parent
4d0f6e1a1a
commit
cf34faa3e5
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clangxx_asan -O0 %s -o %t
|
||||
// RUN: %clangxx_asan -std=c++11 -O0 %s -o %t
|
||||
// RUN: %run %t 2>&1 | FileCheck %s
|
||||
// RUN: %env_asan_opts=debug=1,verbosity=2 %run %t 2>&1 | FileCheck %s
|
||||
|
||||
|
|
Loading…
Reference in New Issue