test.cs \
generics.cs \
generics-variant-types.il\
- basic-simd.cs
+ basic-simd.cs \
+ aot-tests.cs
regtests=basic.exe basic-float.exe basic-long.exe basic-calls.exe objects.exe arrays.exe basic-math.exe exceptions.exe iltests.exe devirtualization.exe generics.exe basic-simd.exe
nodist_libmono_static_la_SOURCES = $(nodist_libmono_la_SOURCES)
nodist_libmono_static_la_CFLAGS = $(mono_CFLAGS)
-BURGSRC= $(common_BURGSRC) $(arch_BURGSRC)
-
libmonoincludedir = $(includedir)/mono-$(API_VER)/mono/jit
libmonoinclude_HEADERS = jit.h
endif
CLEANFILES= $(BUILT_SOURCES) *.exe *.dll
-EXTRA_DIST = $(common_BURGSRC) TestDriver.cs ldscript ldscript.mono \
+EXTRA_DIST = TestDriver.cs ldscript ldscript.mono \
genmdesc.pl \
$(test_sources) \
$(x86_sources) cpu-x86.md \
--- /dev/null
+using System;
+using System.Text;
+using System.Reflection;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+
+/*
+ * Regression tests for the AOT/FULL-AOT code.
+ */
+
+class Tests {
+
+ static int Main () {
+ return TestDriver.RunTests (typeof (Tests));
+ }
+
+ public delegate void ArrayDelegate (int[,] arr);
+
+ static int test_0_array_delegate_full_aot () {
+ ArrayDelegate d = delegate (int[,] arr) {
+ };
+ int[,] a = new int[5, 6];
+ d.BeginInvoke (a, null, null);
+ return 0;
+ }
+}