summaryrefslogtreecommitdiff
path: root/mcs/tests/test-111.cs
blob: f2eff4b6a6faa82e3dfa0e506c51119b94d41ce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
class T {
        static object get_obj() {
                return new object ();
        }
        public static int Main() {
                object o = get_obj ();
                if (o == "string")
                        return 1;
                return 0;
        }
}