blob: c58ae0cc2fd938bf793331be47d11a23af5fecfb [file] [log] [blame]
Ilya Biryukov143a9e02018-12-07 13:17:52 +00001struct map {
2 void find(int);
3 void find();
4};
5
6int main() {
7 map *m;
8 m->find(10);
9 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:8:11 %s -o - | FileCheck %s
10 // CHECK: OVERLOAD: [#void#]find(<#int#>)
11
12 // Also check when the lhs is an explicit pr-value.
13 (m+0)->find(10);
14 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:13:15 %s -o - | FileCheck %s
15}