summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.eh/tmpl3.C
blob: 0ddf63c98be28cf860511b34690ba88146ede9e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }

// Posted by Trevor Taylor <ttaylor@powerup.com.au>

template<class T> struct A {
    void X() throw(T);
};

template<class T>
inline void A<T>::X() 
throw(T) { }