Update Haiku support (#15674)
[mono-project.git] / mono / tests / inctest.cs
blob276f3c5bff6f450bd040466a55b20db3b96b16f7
1 using System;
3 class Test {
4 int i;
6 int Foo ()
8 i = 3;
9 return (i++) + (i++);
13 public static int Main ()
15 Test t = new Test ();
16 if (t.Foo () != 7)
17 return 1;
19 return 0;