pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / test / FrontendC++ / 2004-06-08-LateTemplateInstantiation.cpp
blob4ad4c7d061adbffbbec6ae69947792e29de44287
1 // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
5 template<typename Ty>
6 struct normal_iterator {
7 int FIELD;
8 };
10 void foo(normal_iterator<int>);
11 normal_iterator<int> baz();
13 void bar() {
14 foo(baz());
17 void *bar2() {
18 return (void*)foo;