]> granicus.if.org Git - clang/commitdiff
Remove workaround for reference. No longer necessary.
authorSebastian Redl <sebastian.redl@getdesigned.at>
Wed, 29 Oct 2008 19:45:21 +0000 (19:45 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Wed, 29 Oct 2008 19:45:21 +0000 (19:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58395 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/const-cast.cpp

index 90e8ed7378981c26e8ac9823ea0ae6281ef0ffe5..bc3908fd5d0230fabe078bb5beef787b7240cdbd 100644 (file)
@@ -21,7 +21,7 @@ char ***good_const_cast_test(ccvpcvpp var)
 {
   // 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.