mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
TestTypeTraits: Fix incorrectly namespaced nullptr_t
Problem: - Clang ToT fails to build `AK/Tests/TestTypeTraits.cpp` because `nullptr_t` is missing the `std` namespace qualifier. Solution: - Prepend the namespace qualifier.
This commit is contained in:
parent
43199e5613
commit
700f213011
|
@ -58,7 +58,7 @@ struct Empty {
|
|||
TEST_CASE(FundamentalTypeClassification)
|
||||
{
|
||||
EXPECT_TRAIT_TRUE(IsVoid, void);
|
||||
EXPECT_TRAIT_FALSE(IsVoid, int, Empty, nullptr_t);
|
||||
EXPECT_TRAIT_FALSE(IsVoid, int, Empty, std::nullptr_t);
|
||||
|
||||
EXPECT_TRAIT_TRUE(IsNullPointer, std::nullptr_t);
|
||||
EXPECT_TRAIT_FALSE(IsNullPointer, void, int, Empty, decltype(0));
|
||||
|
|
Loading…
Reference in a new issue