Debian Codegraph @

clang/test/Index/index-deduction-guide.cpp

raw
1 // RUN: c-index-test core -print-source-symbols -- %s -std=gnu++17 | FileCheck %s
2
3 template<typename T>
4 typename T::type declval() {}
5 template <typename T> struct Test;
6 template <typename C, typename T = decltype(declval<C>().d())> Test(C &) -> Test<T>;
7 // CHECK: [[@LINE-1]]:45 | function/C | declval
8 // CHECK-NOT: RelCall
9 // CHECK: [[@LINE-3]]:77 | struct(Gen)/C++ | Test
10 // CHECK: [[@LINE-4]]:64 | struct(Gen)/C++ | Test