blob: 97254c18a51a8a7bc5e08c559ac246fcc36b8d0e [file] [log] [blame]
Eric Christopher2368b6a2011-08-20 00:09:39 +00001// RUN: %clang_cc1 -emit-llvm %s -o -
2
3
4template<typename Ty>
5struct normal_iterator {
6 int FIELD;
7};
8
9void foo(normal_iterator<int>);
10normal_iterator<int> baz();
11
12void bar() {
13 foo(baz());
14}
15
16void *bar2() {
17 return (void*)foo;
18}