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:
Chris Lattner 2004-06-08 07:11:14 +00:00
parent 72b08c97d3
commit 2917ca87f7

View 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;
}