diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-12-05 20:53:54 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-12-05 20:53:54 +0100 |
commit | 0612f8baeb5f0e7a6dec729691a291ba0ce631c4 (patch) | |
tree | 4f9e2e7dd2cac56db7caec2089c813ba945f66f7 /testsuite/gna/issue646/repro.vhdl | |
parent | 8d517a183b1081c8abfa3e25f88c39bd4f5a173f (diff) | |
download | ghdl-0612f8baeb5f0e7a6dec729691a291ba0ce631c4.tar.gz ghdl-0612f8baeb5f0e7a6dec729691a291ba0ce631c4.tar.bz2 ghdl-0612f8baeb5f0e7a6dec729691a291ba0ce631c4.zip |
Add testcase for #646
Diffstat (limited to 'testsuite/gna/issue646/repro.vhdl')
-rw-r--r-- | testsuite/gna/issue646/repro.vhdl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue646/repro.vhdl b/testsuite/gna/issue646/repro.vhdl new file mode 100644 index 000000000..658cd664f --- /dev/null +++ b/testsuite/gna/issue646/repro.vhdl @@ -0,0 +1,15 @@ +entity repro is +end entity; + +architecture tb of repro is + + type tb_cfg_t is record + value : string; + end record tb_cfg_t; + + constant tb_cfg: tb_cfg_t := ( value => "hello" ); +begin + assert tb_cfg.value > "a"; +end tb; + + |