Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

20 lines
369 B
C#

using System;
public class TestString {
public static int Main() {
string a = "ddd";
string b = "ddd";
string c = "ddda";
if (a != b)
return 1;
if (c != String.Concat(b , "a"))
return 2;
if (!System.Object.ReferenceEquals(a, b))
return 3;
if (System.Object.ReferenceEquals(c, String.Concat(b, "a")))
return 4;
return 0;
}
}