aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1509/pass01.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-11-16 19:06:19 +0100
committerTristan Gingold <tgingold@free.fr>2020-11-16 19:06:19 +0100
commit9db35195bbafe7e7adf5dcf347fc1a30cc6873f8 (patch)
tree7639f5981f06094a224e7f5e4b735c565bc8d310 /testsuite/synth/issue1509/pass01.vhdl
parente5b000fad3d13b1f33c5157abe94b96ffcd9227b (diff)
downloadghdl-9db35195bbafe7e7adf5dcf347fc1a30cc6873f8.tar.gz
ghdl-9db35195bbafe7e7adf5dcf347fc1a30cc6873f8.tar.bz2
ghdl-9db35195bbafe7e7adf5dcf347fc1a30cc6873f8.zip
testsuite/synth: add a test for #1509
Diffstat (limited to 'testsuite/synth/issue1509/pass01.vhdl')
-rw-r--r--testsuite/synth/issue1509/pass01.vhdl11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/synth/issue1509/pass01.vhdl b/testsuite/synth/issue1509/pass01.vhdl
new file mode 100644
index 000000000..a7e780dd6
--- /dev/null
+++ b/testsuite/synth/issue1509/pass01.vhdl
@@ -0,0 +1,11 @@
+entity pass01 is
+ port (
+ i: in integer range -4 to 4;
+ o: out integer range -4 to 4
+ );
+end entity;
+
+architecture arch of pass01 is
+begin
+ o <= i;
+end architecture;