You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
381 B
16 lines
381 B
struct map {
|
|
void find(int);
|
|
void find();
|
|
};
|
|
|
|
int main() {
|
|
map *m;
|
|
m->find(10);
|
|
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:8:11 %s -o - | FileCheck %s
|
|
// CHECK: OVERLOAD: [#void#]find(<#int#>)
|
|
|
|
// Also check when the lhs is an explicit pr-value.
|
|
(m+0)->find(10);
|
|
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:13:15 %s -o - | FileCheck %s
|
|
}
|