diff --git a/libcxxabi/test/catch_reference_nullptr.pass.cpp b/libcxxabi/test/catch_reference_nullptr.pass.cpp --- a/libcxxabi/test/catch_reference_nullptr.pass.cpp +++ b/libcxxabi/test/catch_reference_nullptr.pass.cpp @@ -6,10 +6,11 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++03, +// UNSUPPORTED: c++03 // UNSUPPORTED: no-exceptions #include +#include #include struct A {}; @@ -27,13 +28,11 @@ int main(int, char**) { - using nullptr_t = decltype(nullptr); - // A reference to nullptr_t can catch nullptr. - catch_nullptr_test(); - catch_nullptr_test(); - catch_nullptr_test(); - catch_nullptr_test(); + catch_nullptr_test(); + catch_nullptr_test(); + catch_nullptr_test(); + catch_nullptr_test(); // No other reference type can. #if 0