repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CXX
/
temp
/
temp.names
/
p4.cpp
blob
64ca80517b8c399d3d7a1bd38aab4473f0d1d499
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
struct
meta
{
5
template
<
typename U
>
6
struct
apply
{
7
typedef
U
*
type
;
8
};
9
};
10
11
template
<
typename T
,
typename U
>
12
void
f
(
typename
T
::
template
apply
<
U
>::
type
);
13
14
void
test_f
(
int
*
ip
) {
15
f
<
meta
,
int
>(
ip
);
16
}