projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Miss two, PR5307.
[oota-llvm.git]
/
test
/
FrontendC++
/
2004-06-08-LateTemplateInstantiation.cpp
1
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2
3
4
5
template<typename Ty>
6
struct normal_iterator {
7
int FIELD;
8
};
9
10
void foo(normal_iterator<int>);
11
normal_iterator<int> baz();
12
13
void bar() {
14
foo(baz());
15
}
16
17
void *bar2() {
18
return (void*)foo;
19
}