diff options
Diffstat (limited to 'testsuite/gna/ticket15')
-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 0000000..115817b --- /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 0000000..e0ea8bb --- /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" |