add implementation for stpcpy
[mono-project/dkf.git] / mcs / tests / test-811.cs
blob09d5b4bbbfc564ec63acc3729c92351e535cb1d0
1 using System;
3 class C
5 static void TestRefValue (__arglist)
7 ArgIterator args = new ArgIterator (__arglist);
9 var o = __refvalue ( args.GetNextArg (),int);
10 for (int i = 0; i < args.GetRemainingCount (); i++) {
11 Console.WriteLine (__refvalue (args.GetNextArg (), int));
15 public static int Main ()
17 int i = 1;
18 TypedReference tr = __makeref (i);
19 Type t = __reftype (tr);
20 if (t != i.GetType ())
21 return 1;
23 TestRefValue (__arglist (5, 1, 2));
25 return 0;