Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 -emit-llvm %s -o -
      2 
      3 
      4 template<typename Ty>
      5 struct normal_iterator {
      6   int FIELD;
      7 };
      8 
      9 void foo(normal_iterator<int>);
     10 normal_iterator<int> baz();
     11 
     12 void bar() {
     13   foo(baz());
     14 }
     15 
     16 void *bar2() {
     17   return (void*)foo;
     18 }
     19