[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeCompletion / signatures-crash.cpp
blob985054a7dea2c617334b19498013f77f0ed33236
1 struct map {
2 void find(int);
3 void find();
4 };
6 int main() {
7 map *m;
8 m->find(10);
9 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:%(line-1):11 %s -o - | FileCheck %s
10 // CHECK: OVERLOAD: [#void#]find(<#int#>)
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:%(line-1):15 %s -o - | FileCheck %s