Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git] / test / FrontendC++ / 2009-03-17-dbg.cpp
blob93da61873bfc23db1ef43dd574ec8ff43dd4df8a
1 // RUN: %llvmgxx -c -emit-llvm %s -o /dev/null -g
2 // XTARGET: darwin,linux
3 // XFAIL: *
4 template <typename T1,typename T2>
5 inline void f(const T1&,const T2&) { }
7 template <typename T1,typename T2,void F(const T1&,const T2&)>
8 struct A {
9 template <typename T> void g(T& i) { }
12 int main() {
13 int i;
14 A<int,int,f> a;
15 a.g(i);