Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-412.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d7382e38d1b0c2892acc9e86b2dcfbf057e85f2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Compiler options: -r:test-412-lib.dll

using System;
using System.Runtime.InteropServices;

namespace Foo {
  public class Baz {
    [DllImport("foo.so", CallingConvention=Bar.CConv)]
    public static extern void doFoo();

	  public static void Main ()
	  { }
  }
}