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

template <int Dim, class T, class EngineTag>
class Engine {};

struct Brick;
 
template<int Dim, class T = double , class EngineTag = Brick >
struct ConstArray {
  static const int dimensions = Engine<Dim, T, EngineTag>::dimensions;
};