diff options
Diffstat (limited to 'testsuite/gna/issue877/tb.vhdl')
-rw-r--r-- | testsuite/gna/issue877/tb.vhdl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/gna/issue877/tb.vhdl b/testsuite/gna/issue877/tb.vhdl new file mode 100644 index 000000000..e88ab827f --- /dev/null +++ b/testsuite/gna/issue877/tb.vhdl @@ -0,0 +1,9 @@ +entity tb is +end tb; + +architecture behav of tb is + constant msg : string := "hello world"; +begin + assert msg (positive range 1 to 5) = "hello" severity failure; + assert msg (positive range 7 to 11) = "world"; +end behav; |