]> git.ipfire.org Git - thirdparty/gcc.git/blame - libmudflap/testsuite/libmudflap.c++/pass61-frag.cxx
Daily bump.
[thirdparty/gcc.git] / libmudflap / testsuite / libmudflap.c++ / pass61-frag.cxx
CommitLineData
cac67c08
JJ
1// PR c++/34619
2// { dg-do compile }
3
4template <typename> struct A
5{
6 typedef int X;
7 static const int N = 1;
8};
9
10template <typename T> struct B
11{
12 typedef typename A <int [A <T>::N]>::X Y;
13 template <typename U> B (Y, U) {}
14};
15
16int main ()
17{
18}
19
20B <int>b (0, 0);