From e7f223da0ad86e2e00074302256aa43b43a83e9c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 8 Dec 2016 05:31:45 +0100 Subject: Add tests for oread (some are old) --- src/ortho/oread/tests/enum1.on | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/ortho/oread/tests/enum1.on (limited to 'src/ortho/oread/tests/enum1.on') 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 -- cgit v1.2.3