projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2002-07-22 Martin Baulig <martin@gnome.org>
[mono.git]
/
mcs
/
tests
/
test-143.cs
1
using System;
2
3
struct MonoEnumInfo {
4
int val;
5
6
void stuff() { val = 1; }
7
8
static int GetInfo (out MonoEnumInfo info) {
9
info.stuff();
10
return info.val;
11
}
12
13
static int Main()
14
{
15
MonoEnumInfo m;
16
17
if (GetInfo (out m) != 1)
18
return 1;
19
20
if (m.val != 1)
21
return 2;
22
23
return 0;
24
}
25
};
26