diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-12-08 05:31:45 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-12-08 05:31:45 +0100 |
commit | e7f223da0ad86e2e00074302256aa43b43a83e9c (patch) | |
tree | 1c3eee24d7413e0b962f21d975a771ea4d46ce9b /src/ortho/oread/tests/enum1.on | |
parent | 7b556be5180c421a13e93e24393f3ab77df8f864 (diff) | |
download | ghdl-e7f223da0ad86e2e00074302256aa43b43a83e9c.tar.gz ghdl-e7f223da0ad86e2e00074302256aa43b43a83e9c.tar.bz2 ghdl-e7f223da0ad86e2e00074302256aa43b43a83e9c.zip |
Add tests for oread (some are old)
Diffstat (limited to 'src/ortho/oread/tests/enum1.on')
-rw-r--r-- | src/ortho/oread/tests/enum1.on | 4 |
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 |