[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeCompletion / uninstantiated_params.cpp
blob6df9d48adb859139ceac4628cbdb8e8fcc637094
1 template <class T>
2 struct unique_ptr {
3 typedef T* pointer;
5 void reset(pointer ptr = pointer());
6 };
8 void test() {
9 unique_ptr<int> x;
11 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:%(line-1):5 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
12 // CHECK-CC1: [#void#]reset({#<#pointer ptr = pointer()#>#})