Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / temp / temp.names / p4.cpp
blob64ca80517b8c399d3d7a1bd38aab4473f0d1d499
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 struct meta {
5 template<typename U>
6 struct apply {
7 typedef U* type;
8 };
9 };
11 template<typename T, typename U>
12 void f(typename T::template apply<U>::type);
14 void test_f(int *ip) {
15 f<meta, int>(ip);