Skip to content

Commit 116cd9c

Browse files
authored
Update feature_tests.cpp
1 parent 8719328 commit 116cd9c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

clang/test/Preprocessor/feature_tests.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@
6464
#error Clang should have these constexpr builtins
6565
#endif
6666

67+
#if !__has_constexpr_builtin(__builtin_convertvector)
68+
#error Clang should have these constexpr builtins
69+
#endif
70+
71+
#if !__has_constexpr_builtin(__builtin_shufflevector)
72+
#error Clang should have these constexpr builtins
73+
#endif
74+
6775
#if __has_constexpr_builtin(__builtin_cbrt)
6876
#error This builtin should not be constexpr in Clang
6977
#endif

0 commit comments

Comments
 (0)