forked from OSchip/llvm-project
"Accidentally" fixed a bug with overloading of functions with
Objective-C objects as parameters in r146659. Add a test for it. llvm-svn: 146660
This commit is contained in:
parent
2039ca061f
commit
843e978324
|
@ -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) { }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue