mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-29 08:31:13 +00:00
[asan] specify c++ version in tests to fix compile error
If we don't specify the c++ version in these tests, it could cause compile errors because the compiler could default to an older c++ rdar://75247244 Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D98913
This commit is contained in:
parent
00d0315a7c
commit
6ca178cd78
@ -1,4 +1,4 @@
|
||||
// RUN: %clangxx_asan -O0 %s -o %t
|
||||
// RUN: %clangxx_asan -O0 %s --std=c++11 -o %t
|
||||
|
||||
// RUN: not %run %t 10 0 2>&1 | FileCheck %s --check-prefixes=CHECK,T0
|
||||
// RUN: not %run %t 10000000 0 2>&1 | FileCheck %s --check-prefixes=CHECK,T0
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %clangxx_asan -O2 %s -o %t && %run %t
|
||||
// RUN: %clangxx_asan -O2 %s --std=c++11 -o %t && %run %t
|
||||
|
||||
#include <atomic>
|
||||
#include <memory>
|
||||
|
Loading…
Reference in New Issue
Block a user