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

template <class T> void f1() 
{ 
  struct foo { enum T2 {
    un, du, toi };
  }; 
}

void f2() { f1<int>(); }