summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2013-12-04 05:39:55 +0000
committerMarshall Clow <mclow.lists@gmail.com>2013-12-04 05:39:55 +0000
commitc22004f1433b5cdd93403e1a048de21566604cd6 (patch)
tree5763a4366875c6390228c95b86de41e668a52dc7
parent59d65a824fbd2b6928acbf687be988059ca30ec6 (diff)
downloadlibcxxabi_35a-c22004f1433b5cdd93403e1a048de21566604cd6.tar.gz
Fixed a couple of test errors; changed 'const A const *' to 'const A* const'. Thanks to Nico for the catch
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@196355 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/catch_const_pointer_nullptr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/catch_const_pointer_nullptr.cpp b/test/catch_const_pointer_nullptr.cpp
index c9d5acf..412bbe7 100644
--- a/test/catch_const_pointer_nullptr.cpp
+++ b/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);
}