aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.eh/tmpl3.C
blob: 521315e17e2ee61f6bcdd3474412a1af588b931d (plain)
1
2
3
4
5
6
7
8
9
10
11
// Build don't link:

// 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) { }