Index: test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp =================================================================== --- test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp +++ test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp @@ -76,9 +76,9 @@ std::rethrow_if_nested(a); assert(false); } - catch (const B& b) + catch (const B& b2) { - assert(b == B(5)); + assert(b2 == B(5)); } } }