projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not remap framework assembly if it's version is higher than the runtime version
[mono.git]
/
mcs
/
tests
/
test-anon-11.cs
diff --git
a/mcs/tests/test-anon-11.cs
b/mcs/tests/test-anon-11.cs
index f63b9231f64c9010dd3ed2b4c3c5717f08e74fea..21c6638586008b6e0ff2c22c1d7d3279adb031e4 100644
(file)
--- a/
mcs/tests/test-anon-11.cs
+++ b/
mcs/tests/test-anon-11.cs
@@
-4,13
+4,18
@@
delegate void D (int x);
delegate void E (out int x);
delegate void D (int x);
delegate void E (out int x);
+delegate void F (params int[] x);
+
class X {
class X {
- static int Main ()
+
public
static int Main ()
{
// This should create an AnonymousMethod with the implicit argument
D d1 = delegate {};
D d2 = delegate (int a) {};
{
// This should create an AnonymousMethod with the implicit argument
D d1 = delegate {};
D d2 = delegate (int a) {};
+ F f1 = delegate {};
+ F f2 = delegate (int[] a) {};
+
return 0;
}
}
return 0;
}
}