diff options
Diffstat (limited to 'testsuite/gna/bug048/leftof3.vhdl')
-rw-r--r-- | testsuite/gna/bug048/leftof3.vhdl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/bug048/leftof3.vhdl b/testsuite/gna/bug048/leftof3.vhdl new file mode 100644 index 000000000..af2fd34b6 --- /dev/null +++ b/testsuite/gna/bug048/leftof3.vhdl @@ -0,0 +1,15 @@ +entity leftofrightof is +end entity; + +architecture subclass_variable of leftofrightof is + +begin + process + variable i: character := 'e'; + begin + report "i = " & character'image(i); + report "leftof(i) = " & character'image(character'leftof(i)); + report "rightof(i) = " & character'image(character'rightof(i)); + wait; + end process; +end architecture; |