You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.78
Former-commit-id: 46737382176d7b811604042c613d5df6eef74f33
This commit is contained in:
parent
b7cd5de421
commit
6db692b74b
24
mcs/tests/test-ref-10.cs
Normal file
24
mcs/tests/test-ref-10.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
// Compiler options: -langversion:latest
|
||||
|
||||
using System;
|
||||
|
||||
ref struct ValueStringBuilder
|
||||
{
|
||||
public override string ToString ()
|
||||
{
|
||||
return "aaa";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class X
|
||||
{
|
||||
public static int Main ()
|
||||
{
|
||||
var s = new ValueStringBuilder ();
|
||||
if (s.ToString () != "aaa")
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user