1 // RUN: %clang_cc1 -E %s -o - | FileCheck %s
3 #if __has_feature(has_nothrow_assign)
4 int has_nothrow_assign();
6 // CHECK: int has_nothrow_assign();
8 #if __has_feature(has_nothrow_copy)
9 int has_nothrow_copy();
11 // CHECK: int has_nothrow_copy();
13 #if __has_feature(has_nothrow_constructor)
14 int has_nothrow_constructor();
16 // CHECK: int has_nothrow_constructor();
18 #if __has_feature(has_trivial_assign)
19 int has_trivial_assign();
21 // CHECK: int has_trivial_assign();
23 #if __has_feature(has_trivial_copy)
24 int has_trivial_copy();
26 // CHECK: int has_trivial_copy();
28 #if __has_feature(has_trivial_constructor)
29 int has_trivial_constructor();
31 // CHECK: int has_trivial_constructor();
33 #if __has_feature(has_trivial_destructor)
34 int has_trivial_destructor();
36 // CHECK: int has_trivial_destructor();
38 #if __has_feature(has_virtual_destructor)
39 int has_virtual_destructor();
41 // CHECK: int has_virtual_destructor();
43 #if __has_feature(is_abstract)
46 // CHECK: int is_abstract();
48 #if __has_feature(is_base_of)
51 // CHECK: int is_base_of();
53 #if __has_feature(is_class)
56 // CHECK: int is_class();
58 #if __has_feature(is_convertible_to)
59 int is_convertible_to();
61 // CHECK: int is_convertible_to();
63 #if __has_feature(is_empty)
66 // CHECK: int is_empty();
68 #if __has_feature(is_enum)
71 // CHECK: int is_enum();
73 #if __has_feature(is_pod)
76 // CHECK: int is_pod();
78 #if __has_feature(is_polymorphic)
81 // CHECK: int is_polymorphic();
83 #if __has_feature(is_union)
86 // CHECK: int is_union();
88 #if __has_feature(is_literal)
91 // CHECK: int is_literal();