зеркало из https://github.com/microsoft/clang-1.git
"Accidentally" fixed a bug with overloading of functions with
Objective-C objects as parameters in r146659. Add a test for it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146660 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
dec1cc4ec7
Коммит
7ab8ef99e6
|
@ -171,3 +171,9 @@ namespace rdar9327203 {
|
|||
int &fr = (f)(x, 0);
|
||||
}
|
||||
}
|
||||
|
||||
namespace class_id {
|
||||
// it's okay to overload Class with id.
|
||||
void f(Class) { }
|
||||
void f(id) { }
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче