diff options
author | Tristan Gingold | 2015-12-22 22:04:16 +0100 |
---|---|---|
committer | Tristan Gingold | 2015-12-24 13:56:41 +0100 |
commit | 2ac84541d494e06b7782cd11515264fd43f7532f (patch) | |
tree | cf224002e64ad0a54161314d2a89df974b9d3cfe /testsuite/gna/bug031 | |
parent | 1366a6fcb075b4ba80e7e2432312c4b3c31c69be (diff) | |
download | ghdl-2ac84541d494e06b7782cd11515264fd43f7532f.tar.gz ghdl-2ac84541d494e06b7782cd11515264fd43f7532f.tar.bz2 ghdl-2ac84541d494e06b7782cd11515264fd43f7532f.zip |
Add parse test for ams.
Diffstat (limited to 'testsuite/gna/bug031')
-rw-r--r-- | testsuite/gna/bug031/ams1.vhdl | 13 | ||||
-rwxr-xr-x | testsuite/gna/bug031/testsuite.sh | 9 |
2 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/gna/bug031/ams1.vhdl b/testsuite/gna/bug031/ams1.vhdl new file mode 100644 index 0000000..e0a85cb --- /dev/null +++ b/testsuite/gna/bug031/ams1.vhdl @@ -0,0 +1,13 @@ +entity ams1 is +end; + +architecture behav of ams1 is + nature electrical is real across real through ground reference; + -- terminal nx : electrical; + -- quantity energy : real; +begin + process + begin + wait; + end process; +end behav; diff --git a/testsuite/gna/bug031/testsuite.sh b/testsuite/gna/bug031/testsuite.sh new file mode 100755 index 0000000..a1d0348 --- /dev/null +++ b/testsuite/gna/bug031/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +$GHDL -s --ams ams1.vhdl + +clean + +echo "Test successful" |