diff --git a/libcxxabi/test/catch_const_pointer_nullptr.cpp b/libcxxabi/test/catch_const_pointer_nullptr.cpp index c9d5acf72a86..412bbe75f37a 100644 --- a/libcxxabi/test/catch_const_pointer_nullptr.cpp +++ b/libcxxabi/test/catch_const_pointer_nullptr.cpp @@ -53,7 +53,7 @@ void test3() throw nullptr; assert(false); } - catch (const A const*) + catch (const A* const) { } catch (A*) @@ -72,7 +72,7 @@ void test4() catch (A*) { } - catch (const A const*) + catch (const A* const) { assert(false); }