projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #4327 from vkargov/vk-abcremedy
[mono.git]
/
mcs
/
tests
/
test-742.cs
1
using System;
2
3
public struct Test
4
{
5
public int Foo;
6
7
public static Test Set (C c)
8
{
9
c.Value.Foo = 21;
10
return c.Value;
11
}
12
}
13
14
public class C
15
{
16
public Test Value;
17
}
18
public class Driver
19
{
20
public static int Main ()
21
{
22
var v = Test.Set (new C ());
23
Console.WriteLine (v.Foo);
24
if (v.Foo != 21)
25
return 1;
26
return 0;
27
}
28
}