aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/oread/tests/enum1.on
diff options
context:
space:
mode:
Diffstat (limited to 'src/ortho/oread/tests/enum1.on')
-rw-r--r--src/ortho/oread/tests/enum1.on4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ortho/oread/tests/enum1.on b/src/ortho/oread/tests/enum1.on
new file mode 100644
index 000000000..87dc75cab
--- /dev/null
+++ b/src/ortho/oread/tests/enum1.on
@@ -0,0 +1,4 @@
+type __ghdl_compare_type is enum {lt = 0, eq = 1, gt = 2};
+
+public constant en1 : __ghdl_compare_type;
+constant en1 := __ghdl_compare_type'[eq]; \ No newline at end of file