forked from OSchip/llvm-project
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:
parent
21517e4b89
commit
350bda6eb2
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue