* g++.dg/asan/asan_test.C: Add -std=c++11 and
[official-gcc.git] / gcc / testsuite / g++.dg / asan / asan_test_config.h
blob97b7dd0873ff2c33d2d62f7809672977fff3869e
1 //===-- asan_test_config.h --------------------------------------*- C++ -*-===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
8 // This file is a part of AddressSanitizer, an address sanity checker.
9 //
10 //===----------------------------------------------------------------------===//
11 #if !defined(INCLUDED_FROM_ASAN_TEST_UTILS_H)
12 # error "This file should be included into asan_test_utils.h only"
13 #endif
15 #ifndef ASAN_TEST_CONFIG_H
16 #define ASAN_TEST_CONFIG_H
18 #include <vector>
19 #include <string>
20 #include <map>
22 using std::string;
23 using std::vector;
24 using std::map;
26 #ifndef ASAN_UAR
27 # error "please define ASAN_UAR"
28 #endif
30 #ifndef ASAN_HAS_EXCEPTIONS
31 # error "please define ASAN_HAS_EXCEPTIONS"
32 #endif
34 #ifndef ASAN_HAS_BLACKLIST
35 # error "please define ASAN_HAS_BLACKLIST"
36 #endif
38 #ifndef ASAN_NEEDS_SEGV
39 # if defined(_WIN32)
40 # define ASAN_NEEDS_SEGV 0
41 # else
42 # define ASAN_NEEDS_SEGV 1
43 # endif
44 #endif
46 #ifndef ASAN_AVOID_EXPENSIVE_TESTS
47 # define ASAN_AVOID_EXPENSIVE_TESTS 0
48 #endif
50 #define ASAN_PCRE_DOTALL ""
52 #endif // ASAN_TEST_CONFIG_H