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
add comment
[mcs.git]
/
tests
/
test-90.cs
blob
8d7c147ec3fd351599ce5a13971e01be5c198f12
1
//
2
// This test just makes sure that we can compile C.A, there used to be
3
// a bug in the compiler that was doing the lookups in the wrong namespace
4
//
5
//
6
namespace
N1
7
{
8
public enum
A
9
{
10
A_1
,
A_2
,
A_3
11
}
12
13
public interface
B
14
{
15
N1
.
A myProp
16
{
17
get
;
18
set
;
// <-- This always worked.
19
}
20
}
21
22
public interface
C
23
{
24
A myProp
25
{
26
get
;
27
set
;
// <-- This used to fail.
28
}
29
}
30
31
public class
Blah
{
32
static int
Main
()
33
{
34
return
0
;
35
}
36
}
37
}