aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/typedef10.C
blob: c2a2108f04adf90b438c0cc875482633a6adab2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/34573

template < class Gtr_>
void compute_gr()
{
  typedef int Less_chain;
  struct utils {
    utils(const Less_chain& lc)  {};
  };
  utils U(1);
}
int main(void){
  compute_gr<int>();
}