summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket15/assignment_to_aggregate.vhdl
blob: 115817bafeb9e3f0995ef53419e6fa4276b7a990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;