Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / template / crash17.C
blob9fa826b999d6717ff0f64c2fe3e6b7d328982559
1 template <int I> 
2 struct A {
3 };
5 template <typename T>
6 struct B {
7   typedef typename T::type type;
8   static const type j = T::j;
10   A<j> b;
13 struct C {
14   typedef int type;
15   static const int j = 3;
18 int i = B<C>::j;