OLD | NEW |
1 // RUN: %clang_cc1 -E %s -o - | FileCheck %s | 1 // RUN: %clang_cc1 -E %s -o - | FileCheck %s |
2 | 2 |
3 // CHECK: c_static_assert | 3 // CHECK: c_static_assert |
4 #if __has_extension(c_static_assert) | 4 #if __has_extension(c_static_assert) |
5 int c_static_assert(); | 5 int c_static_assert(); |
6 #endif | 6 #endif |
7 | 7 |
8 // CHECK: c_generic_selections | 8 // CHECK: c_generic_selections |
9 #if __has_extension(c_generic_selections) | 9 #if __has_extension(c_generic_selections) |
10 int c_generic_selections(); | 10 int c_generic_selections(); |
(...skipping 29 matching lines...) Expand all Loading... |
40 int has_rvalue_references(); | 40 int has_rvalue_references(); |
41 #endif | 41 #endif |
42 | 42 |
43 #if __has_extension(cxx_local_type_template_args) | 43 #if __has_extension(cxx_local_type_template_args) |
44 int has_local_type_template_args(); | 44 int has_local_type_template_args(); |
45 #else | 45 #else |
46 int no_local_type_template_args(); | 46 int no_local_type_template_args(); |
47 #endif | 47 #endif |
48 | 48 |
49 // CHECK: has_local_type_template_args | 49 // CHECK: has_local_type_template_args |
50 | |
51 #if __has_extension(cxx_binary_literals) | |
52 int has_binary_literals(); | |
53 #endif | |
54 | |
55 // CHECK: has_binary_literals | |
OLD | NEW |