File tree Expand file tree Collapse file tree 3 files changed +9
-25
lines changed
libcxx/containers/sequences/vector
strings/string.view/string.view.nonmem
utilities/intseq/intseq.intseq Expand file tree Collapse file tree 3 files changed +9
-25
lines changed Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
+ // REQUIRES: asan
10
+
9
11
// <vector>
10
12
11
13
// reference operator[](size_type n);
19
21
#include " test_iterators.h"
20
22
#include " test_macros.h"
21
23
22
- #ifndef _LIBCPP_HAS_NO_ASAN
23
24
extern " C" void __sanitizer_set_death_callback (void (*callback)(void ));
24
25
25
26
void do_exit () {
@@ -65,6 +66,3 @@ int main(int, char**)
65
66
((void )foo);
66
67
}
67
68
}
68
- #else
69
- int main (int , char **) { return 0 ; }
70
- #endif
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
+ // UNSUPPORTED: c++03, c++11
10
+
9
11
// <iomanip>
10
12
11
13
// quoted
17
19
18
20
#include " test_macros.h"
19
21
20
- #if TEST_STD_VER > 11
21
- // quoted is C++14 only
22
-
23
22
bool is_skipws ( const std::istream *is ) {
24
23
return ( is->flags () & std::ios_base::skipws ) != 0 ;
25
24
}
@@ -210,8 +209,3 @@ int main(int, char**)
210
209
211
210
return 0 ;
212
211
}
213
- #else
214
- int main (int , char **) {
215
- return 0 ;
216
- }
217
- #endif
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
+ // UNSUPPORTED: c++03, c++11
10
+
9
11
// <utility>
10
12
11
13
// template<class T, T... I>
23
25
24
26
#include " test_macros.h"
25
27
26
- int main (int , char **)
27
- {
28
- #if TEST_STD_VER > 11
29
-
30
- // Should fail to compile, since float is not an integral type
28
+ int main (int , char **) {
29
+ // Should fail to compile, since float is not an integral type
31
30
using floatmix = std::integer_sequence<float >;
32
31
floatmix::value_type I;
33
-
34
- #else
35
-
36
- X
37
-
38
- #endif // TEST_STD_VER > 11
39
-
40
- return 0 ;
32
+ return 0 ;
41
33
}
You can’t perform that action at this time.
0 commit comments