aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/template4.C
blob: 318cd2e10d03f310e5db1051e2bfad459b4941a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Build don't link: 
// GROUPS passed templates
// This used to be a circularity in chainon.
template <class ARG> struct TMPL {
    typedef int ARG::*ARG_data_member_ptr;
    typedef void (ARG::*ARG_func_member_ptr) ();
};

struct S { };

TMPL<S> object;