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

template <class T, int i>
struct S1;

template <class T, int i, int j>
struct S2
{
  typedef typename S1<T, (i >= j ? 0 : 1) >::type type;
};