diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-12-23 05:20:46 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-12-23 18:22:46 +0100 |
commit | e11660d9afe9e19701a963f9c382b17d89e59d4c (patch) | |
tree | 258389ffcb4564808cf12bd601ad889af2850a0c /testsuite/gna/bug017/call6b.vhdl | |
parent | 54d732c74f7bbb45b7f707e348a213469311d25f (diff) | |
download | ghdl-e11660d9afe9e19701a963f9c382b17d89e59d4c.tar.gz ghdl-e11660d9afe9e19701a963f9c382b17d89e59d4c.tar.bz2 ghdl-e11660d9afe9e19701a963f9c382b17d89e59d4c.zip |
bug017: add more tests
Diffstat (limited to 'testsuite/gna/bug017/call6b.vhdl')
-rw-r--r-- | testsuite/gna/bug017/call6b.vhdl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testsuite/gna/bug017/call6b.vhdl b/testsuite/gna/bug017/call6b.vhdl new file mode 100644 index 000000000..ed51e6e7d --- /dev/null +++ b/testsuite/gna/bug017/call6b.vhdl @@ -0,0 +1,23 @@ +entity call6b is +end; + +architecture behav of call6b is + type my_rec is record + a, b, c : character; + end record; + + procedure check (s : my_rec) is + begin + wait for 1 ns; + assert s.b = 'a'; + end; +begin + process + variable c : character := 'a'; + begin + check ((a => 'e', b => 'a', c => 'c')); + report "SUCCESS"; + wait; + end process; + +end behav; |