diff --git a/test/SemaCXX/const-cast.cpp b/test/SemaCXX/const-cast.cpp index 90e8ed7378..bc3908fd5d 100644 --- a/test/SemaCXX/const-cast.cpp +++ b/test/SemaCXX/const-cast.cpp @@ -21,7 +21,7 @@ char ***good_const_cast_test(ccvpcvpp var) { // Cast away deep consts and volatiles. char ***var2 = const_cast(var); - char ***const &var3 = static_cast(var2); // Different bug. + char ***const &var3 = var2; // Const reference to reference. char ***&var4 = const_cast(var3); // Drop reference. Intentionally without qualifier change.