Avoid name shadowing in test. Patch from STL@microsoft.com

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@272618 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-06-14 02:47:46 +00:00
parent be6c5e18b3
commit 5e3bf9c69a

View File

@@ -76,9 +76,9 @@ int main()
std::rethrow_if_nested(a);
assert(false);
}
catch (const B& b)
catch (const B& b2)
{
assert(b == B(5));
assert(b2 == B(5));
}
}
}