Mercurial > hg > CbC > CbC_gcc
annotate libmudflap/testsuite/libmudflap.c++/pass61-frag.cxx @ 0:a06113de4d67
first commit
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Jul 2009 14:47:48 +0900 |
parents | |
children |
rev | line source |
---|---|
0 | 1 // PR c++/34619 |
2 // { dg-do compile } | |
3 | |
4 template <typename> struct A | |
5 { | |
6 typedef int X; | |
7 static const int N = 1; | |
8 }; | |
9 | |
10 template <typename T> struct B | |
11 { | |
12 typedef typename A <int [A <T>::N]>::X Y; | |
13 template <typename U> B (Y, U) {} | |
14 }; | |
15 | |
16 int main () | |
17 { | |
18 } | |
19 | |
20 B <int>b (0, 0); |