OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / error33.C
1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin: PR c++/42218
3 // { dg-do compile }
4
5 template<int> struct A
6 {
7       template<int> struct B;
8 };
9
10 int i = A<0>::B<0>::X::Y; // { dg-error "'A<0>::B<0>::X' has not been declared" }
11