Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
d13e0ae12ec211525bc254ea743f0cc183801de6
/
.
/
test
/
C++Frontend
/
2004-06-08-LateTemplateInstantiation.cpp
blob: 4d31c3685e57d50ec3e109a67fab5afd9a45462b [
file
] [
log
] [
blame
]
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
template
<
typename
Ty
>
struct
normal_iterator
{
int
FIELD
;
};
void
foo
(
normal_iterator
<int>
);
normal_iterator
<int>
baz
();
void
bar
()
{
foo
(
baz
());
}
void
*
bar2
()
{
return
(
void
*)
foo
;
}