Fixed a couple of test errors; changed 'const A const *' to 'const A* const'. Thanks to Nico for the catch

llvm-svn: 196355
This commit is contained in:
Marshall Clow 2013-12-04 05:39:55 +00:00
parent 21517e4b89
commit 350bda6eb2
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ void test3()
throw nullptr; throw nullptr;
assert(false); assert(false);
} }
catch (const A const*) catch (const A* const)
{ {
} }
catch (A*) catch (A*)
@ -72,7 +72,7 @@ void test4()
catch (A*) catch (A*)
{ {
} }
catch (const A const*) catch (const A* const)
{ {
assert(false); assert(false);
} }