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-399.cs
diff --git
a/mcs/tests/test-399.cs
b/mcs/tests/test-399.cs
index 480ab2801b5e739feb183c24d8d1ff15cc5ddd74..d800b4f702ff3e47f98e9debbd002c5edd5ae868 100644
(file)
--- a/
mcs/tests/test-399.cs
+++ b/
mcs/tests/test-399.cs
@@
-4,7
+4,17
@@
using System;
class TestVararg
{
class TestVararg
{
- static int Main ()
+ static void F (RuntimeArgumentHandle rah)
+ {
+ }
+
+ static void G (__arglist)
+ {
+ F (new RuntimeArgumentHandle ());
+ F (__arglist);
+ }
+
+ public static int Main ()
{
int result = Vararg.AddABunchOfInts (__arglist ( 2, 3, 4 ));
Console.WriteLine ("Answer: {0}", result);
{
int result = Vararg.AddABunchOfInts (__arglist ( 2, 3, 4 ));
Console.WriteLine ("Answer: {0}", result);