Skip to content

Commit 17b5d6b

Browse files
authored
[libc] Temporarily disable the type trait test affected by issue 132494. (#132501)
This test causes clang to crash due to #132494.
1 parent 619ba92 commit 17b5d6b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libc/test/src/__support/CPP/type_traits_test.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,9 @@ TEST(LlvmLibcTypeTraitsTest, is_class) {
334334
// Neither other types.
335335
EXPECT_FALSE((is_class_v<Union>));
336336
EXPECT_FALSE((is_class_v<int>));
337-
EXPECT_FALSE((is_class_v<EnumClass>));
337+
// TODO: Re-enable the test after
338+
// https://github.com/llvm/llvm-project/issues/132494 is fixed.
339+
// EXPECT_FALSE((is_class_v<EnumClass>));
338340
}
339341

340342
TYPED_TEST(LlvmLibcTypeTraitsTest, is_const, UnqualObjectTypes) {

0 commit comments

Comments
 (0)