Skip to content

Commit e001176

Browse files
committed
switch from __clang_major__/__clang_minor__ to TEST_CLANG_VER
1 parent 17f7c0b commit e001176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/is_array.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ int main(int, char**)
7979
// correct handling of std::is_array<T[0]>. This test will pass as long as
8080
// Clang and libc++ come from the same LLVM commit, but we can't detect that
8181
// here.
82-
#if !defined(__ANDROID__) || __clang_major__ != 19 || __clang_minor__ != 0
82+
#if !defined(__ANDROID__) || TEST_CLANG_VER != 1900
8383
test_is_not_array<char[0]>();
8484
#endif
8585
test_is_array<char[]>();

0 commit comments

Comments
 (0)