diff options
author | Tristan Gingold <tgingold@free.fr> | 2014-05-07 05:27:15 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2014-05-07 05:27:15 +0200 |
commit | 00dd8928ce4ab9f71713adcf66fa063f0e5ff1db (patch) | |
tree | 749941e3c644dcc0983217dcc988eca48666f45f /testsuite/gna | |
parent | 667cec5228b37715da31d4c377cc9dbd4de8dcd5 (diff) | |
download | ghdl-00dd8928ce4ab9f71713adcf66fa063f0e5ff1db.tar.gz ghdl-00dd8928ce4ab9f71713adcf66fa063f0e5ff1db.tar.bz2 ghdl-00dd8928ce4ab9f71713adcf66fa063f0e5ff1db.zip |
Add testcase for ticket15.
Diffstat (limited to 'testsuite/gna')
-rw-r--r-- | testsuite/gna/ticket15/assignment_to_aggregate.vhdl | 13 | ||||
-rwxr-xr-x | testsuite/gna/ticket15/testsuite.sh | 9 |
2 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/gna/ticket15/assignment_to_aggregate.vhdl b/testsuite/gna/ticket15/assignment_to_aggregate.vhdl new file mode 100644 index 000000000..115817baf --- /dev/null +++ b/testsuite/gna/ticket15/assignment_to_aggregate.vhdl @@ -0,0 +1,13 @@ +entity assignment_to_an_aggregate is +end entity; +architecture example of assignment_to_an_aggregate is + type vowel_type is (a, e, i, o, u); + type consonant_type is (b, c, d, f, g); + + signal my_vowel: vowel_type; + signal my_consonant: consonant_type; +begin + + (my_vowel, my_consonant) <= (a,b); + +end; diff --git a/testsuite/gna/ticket15/testsuite.sh b/testsuite/gna/ticket15/testsuite.sh new file mode 100755 index 000000000..e0ea8bbaa --- /dev/null +++ b/testsuite/gna/ticket15/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure assignment_to_aggregate.vhdl + +clean + +echo "Test successful" |