bolt/deps/llvm-18.1.8/clang/test/CXX/temp/temp.names/p4.cpp
2025-02-14 19:21:04 +01:00

16 lines
280 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
struct meta {
template<typename U>
struct apply {
typedef U* type;
};
};
template<typename T, typename U>
void f(typename T::template apply<U>::type);
void test_f(int *ip) {
f<meta, int>(ip);
}