aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/oread/tests/struct6.on
diff options
context:
space:
mode:
Diffstat (limited to 'src/ortho/oread/tests/struct6.on')
-rw-r--r--src/ortho/oread/tests/struct6.on18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ortho/oread/tests/struct6.on b/src/ortho/oread/tests/struct6.on
new file mode 100644
index 000000000..7cb5e4619
--- /dev/null
+++ b/src/ortho/oread/tests/struct6.on
@@ -0,0 +1,18 @@
+TYPE float IS FLOAT;
+
+TYPE __ghdl_index_type IS UNSIGNED (32);
+
+TYPE __ghdl_char IS UNSIGNED (8);
+
+TYPE struct6 IS RECORD
+ f : float;
+ i: __ghdl_char;
+END RECORD;
+
+PUBLIC VAR var1 : struct6;
+
+TYPE struct6_arr IS ARRAY [__ghdl_index_type] OF struct6;
+
+TYPE struct6x2 IS SUBARRAY struct6_arr[2];
+
+PUBLIC VAR var2 : struct6x2; \ No newline at end of file