summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/nontype2.C
blob: e18141191a356304d3e0fc559fa6f7ead35f2741 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Build don't link:

enum E { };

template <const E* ep>
struct S1
{
};


struct S2
{
  static E es[1];
};


struct S3
{
  typedef S1<S2::es> S3_Type;
};