[libcxxabi] r196355 - Fixed a couple of test errors; changed 'const A const *' to 'const A* const'. Thanks to Nico for the catch
Marshall Clow
mclow.lists at gmail.com
Tue Dec 3 21:39:55 PST 2013
Author: marshall
Date: Tue Dec 3 23:39:55 2013
New Revision: 196355
URL: http://llvm.org/viewvc/llvm-project?rev=196355&view=rev
Log:
Fixed a couple of test errors; changed 'const A const *' to 'const A* const'. Thanks to Nico for the catch
Modified:
libcxxabi/trunk/test/catch_const_pointer_nullptr.cpp
Modified: libcxxabi/trunk/test/catch_const_pointer_nullptr.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/catch_const_pointer_nullptr.cpp?rev=196355&r1=196354&r2=196355&view=diff
==============================================================================
--- libcxxabi/trunk/test/catch_const_pointer_nullptr.cpp (original)
+++ libcxxabi/trunk/test/catch_const_pointer_nullptr.cpp Tue Dec 3 23:39:55 2013
@@ -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);
}
More information about the cfe-commits
mailing list