[cfe-commits] r58395 - /cfe/trunk/test/SemaCXX/const-cast.cpp
Sebastian Redl
sebastian.redl at getdesigned.at
Wed Oct 29 12:45:21 PDT 2008
Author: cornedbee
Date: Wed Oct 29 14:45:21 2008
New Revision: 58395
URL: http://llvm.org/viewvc/llvm-project?rev=58395&view=rev
Log:
Remove workaround for reference. No longer necessary.
Modified:
cfe/trunk/test/SemaCXX/const-cast.cpp
Modified: cfe/trunk/test/SemaCXX/const-cast.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/const-cast.cpp?rev=58395&r1=58394&r2=58395&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/const-cast.cpp (original)
+++ cfe/trunk/test/SemaCXX/const-cast.cpp Wed Oct 29 14:45:21 2008
@@ -21,7 +21,7 @@
{
// Cast away deep consts and volatiles.
char ***var2 = const_cast<cppp>(var);
- char ***const &var3 = static_cast<cpppcr>(var2); // Different bug.
+ char ***const &var3 = var2;
// Const reference to reference.
char ***&var4 = const_cast<cpppr>(var3);
// Drop reference. Intentionally without qualifier change.
More information about the cfe-commits
mailing list