Cosmos/source/IL2CPU.Tests/Tests/SimpleAddFunction/SimpleAddFunction.cs

15 lines
No EOL
192 B
C#

using System;
class Program
{
static int Main()
{
int theValue = Add(1, 2);
return theValue == 3 ? 0 : 1;
}
public static int Add(int a, int b)
{
return a + b;
}
}