diff options
Diffstat (limited to 'test/Lexer/has_feature_type_traits.cpp')
-rw-r--r-- | test/Lexer/has_feature_type_traits.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Lexer/has_feature_type_traits.cpp b/test/Lexer/has_feature_type_traits.cpp index 5da845f06512..53056a02b72a 100644 --- a/test/Lexer/has_feature_type_traits.cpp +++ b/test/Lexer/has_feature_type_traits.cpp @@ -99,3 +99,8 @@ int is_standard_layout(); int is_trivially_copyable(); #endif // CHECK: int is_trivially_copyable(); + +#if __has_feature(underlying_type) +int underlying_type(); +#endif +// CHECK: int underlying_type(); |