Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / 2004-06-08-LateTemplateInstantiation.cpp
blob97254c18a51a8a7bc5e08c559ac246fcc36b8d0e
1 // RUN: %clang_cc1 -emit-llvm %s -o -
4 template<typename Ty>
5 struct normal_iterator {
6 int FIELD;
7 };
9 void foo(normal_iterator<int>);
10 normal_iterator<int> baz();
12 void bar() {
13 foo(baz());
16 void *bar2() {
17 return (void*)foo;