mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
New testcase for PR355
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14062 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
72b08c97d3
commit
2917ca87f7
17
test/C++Frontend/2004-06-08-LateTemplateInstantiation.cpp
Normal file
17
test/C++Frontend/2004-06-08-LateTemplateInstantiation.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
|
||||
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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user