repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update readme (#21797)
[mono-project.git]
/
mcs
/
tests
/
test-ref-10.cs
blob
88e201d3174a0398e4d926d99a621e9803b91f91
1
// Compiler options: -langversion:latest
2
3
using
System
;
4
5
ref struct
ValueStringBuilder
6
{
7
public override string
ToString
()
8
{
9
return
"aaa"
;
10
}
11
}
12
13
14
class
X
15
{
16
public static int
Main
()
17
{
18
var
s
=
new
ValueStringBuilder
();
19
if
(
s
.
ToString
() !=
"aaa"
)
20
return
1
;
21
22
return
0
;
23
}
24
}