repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update to recent changes -- mostly testcases failing due to missing ArrayList
[mcs.git]
/
tests
/
gtest-055.cs
blob
586196d45d8712394c5bf763da914d53b75f3885
1
// Using constructed types in a namespace alias.
2
3
namespace
N1
4
{
5
class
A
<
T
>
6
{
7
public class
B { }
8
9
public class
C
<
U
>
{ }
10
}
11
12
class
C { }
13
}
14
15
namespace
N2
16
{
17
using
Y
=
N1
.
A
<
int
>;
18
19
class
X
20
{
21
static void
Main
()
22
{
23
Y y
=
new
Y
();
24
Y
.
B b
=
new
Y
.
B
();
25
Y
.
C
<
long
>
c
=
new
Y
.
C
<
long
> ();
26
}
27
}
28
}