We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d692380 commit 24b5867Copy full SHA for 24b5867
clang/test/AST/ByteCode/builtin-bit-cast.cpp
@@ -530,6 +530,8 @@ constexpr const intptr_t &returns_local() { return 0L; }
530
// both-note@+1 {{read of temporary whose lifetime has ended}}
531
constexpr nullptr_t test_nullptr_bad = __builtin_bit_cast(nullptr_t, returns_local());
532
533
+
534
+#ifdef __SIZEOF_INT128__
535
namespace VectorCast {
536
typedef unsigned X __attribute__ ((vector_size (64)));
537
typedef unsigned __int128 Y __attribute__ ((vector_size (64)));
@@ -568,5 +570,5 @@ namespace VectorCast {
568
570
static_assert(s.a == 0); // ref-error {{not an integral constant expression}} \
569
571
// ref-note {{initializer of 's' is not a constant expression}}
572
#endif
-
573
}
574
+#endif
0 commit comments