blob: 606a5cec6180f3170e0c35ce4433002a1a138716 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
// { dg-do compile }
// { dg-options "-std=gnu++11" }
#ifndef __cpp_unicode_characters
# error "__cpp_unicode_characters"
#elif __cpp_unicode_characters != 200704
# error "__cpp_unicode_characters != 200704"
#endif
#ifndef __cpp_raw_strings
# error "__cpp_raw_strings"
#elif __cpp_raw_strings != 200710
# error "__cpp_raw_strings != 200710"
#endif
#ifndef __cpp_unicode_literals
# error "__cpp_unicode_literals"
#elif __cpp_unicode_literals != 200710
# error "__cpp_unicode_literals != 200710"
#endif
#ifndef __cpp_user_defined_literals
# error "__cpp_user_defined_literals"
#elif __cpp_user_defined_literals != 200809
# error "__cpp_user_defined_literals != 200809"
#endif
#ifndef __cpp_lambdas
# error "__cpp_lambdas"
#elif __cpp_lambdas != 200907
# error "__cpp_lambdas != 200907"
#endif
#ifndef __cpp_constexpr
# error "__cpp_constexpr"
#elif __cpp_constexpr != 200704
# error "__cpp_constexpr != 200704"
#endif
#ifndef __cpp_static_assert
# error "__cpp_static_assert"
#elif __cpp_static_assert != 200410
# error "__cpp_static_assert != 200410"
#endif
#ifndef __cpp_decltype
# error "__cpp_decltype"
#elif __cpp_decltype != 200707
# error "__cpp_decltype != 200707"
#endif
#ifndef __cpp_attributes
# error "__cpp_attributes"
#elif __cpp_attributes != 200809
# error "__cpp_attributes != 200809"
#endif
#ifndef __cpp_rvalue_reference
# error "__cpp_rvalue_reference"
#elif __cpp_rvalue_reference != 200610
# error "__cpp_rvalue_reference != 200610"
#endif
#ifndef __cpp_variadic_templates
# error "__cpp_variadic_templates"
#elif __cpp_variadic_templates != 200704
# error "__cpp_variadic_templates != 200704"
#endif
#ifndef __cpp_alias_templates
# error "__cpp_alias_templates"
#elif __cpp_alias_templates != 200704
# error "__cpp_alias_templates != 200704"
#endif
// These C++14 features are allowed in C++11 in non-ANSI modes.
#ifndef __cpp_binary_literals
# error "__cpp_binary_literals"
#elif __cpp_binary_literals != 201304
# error "__cpp_binary_literals != 201304"
#endif
|