Merge pull request #4419 from BrzVlad/fix-oom-nre
[mono.git] / mcs / tests / test-680.cs
1 using System;
2
3 namespace AsStringProblem
4 {
5         class MainClass
6         {
7                 public static void Main ()
8                 {
9                         object o = "Hello World";
10                         Console.WriteLine (o as string + "blah");
11                         Console.WriteLine (o is string + "blah");
12                         Console.WriteLine ((o as string) + "blah");
13                         Console.WriteLine ("blah" + o as string);
14                 }
15         }
16 }