Merge pull request #15293 from lewing/wasm-clean
[mono-project.git] / mcs / tests / test-562.cs
blobefbfbb493fcecc6dd68d6ce6d1263d685ee3997a
1 using System;
2 using System.Reflection;
3 using System.Runtime.InteropServices;
5 class Program
7 [DllImport("foo.dll")]
8 public static extern void printf(string format, __arglist);
10 public static int Main()
12 if (typeof (Program).GetMethod ("printf").CallingConvention != CallingConventions.VarArgs)
13 return 1;
15 Console.WriteLine ("OK");
16 return 0;