repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add comment
[mcs.git]
/
tests
/
test-412.cs
blob
d7382e38d1b0c2892acc9e86b2dcfbf057e85f2f
1
// Compiler options: -r:test-412-lib.dll
2
3
using
System
;
4
using
System
.
Runtime
.
InteropServices
;
5
6
namespace
Foo
{
7
public class
Baz
{
8
[
DllImport
(
"foo.so"
,
CallingConvention
=
Bar
.
CConv
)]
9
public static extern void
doFoo
();
10
11
public static void
Main
()
12
{ }
13
}
14
}