repo.or.cz
/
cegcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
UUID stuff from Ryan Raasch
[cegcc.git]
/
cegcc
/
src
/
gcc-4.3.2
/
libmudflap
/
testsuite
/
libmudflap.c++
/
pass61-frag.cxx
blob
03046112c46d2a530fb0d4e5408db7c7f36719d6
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
);