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-728.cs
blob
08ce96c518f12ed61cd66f14669afd3960e0c41d
1
using
System
;
2
3
public class
Tests
4
{
5
enum
MyEnumUlong
:
long
6
{
7
Value_1
,
8
Value_3
=
2
9
}
10
11
public static int
Main
()
12
{
13
var
d
=
MyEnumUlong
.
Value_1
;
14
d
=
d
+ (
byte
)
1
;
15
d
+= (
byte
)
1
;
16
17
if
(
d
!=
MyEnumUlong
.
Value_3
)
18
return
1
;
19
20
return
0
;
21
}
22
}