зеркало из https://github.com/microsoft/clang-1.git
Remove workaround for reference. No longer necessary.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58395 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
a5a35e149d
Коммит
2a72f7b592
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче