diff options
Diffstat (limited to 'testsuite/gna/bug085')
-rw-r--r-- | testsuite/gna/bug085/foo.vhdl | 13 | ||||
-rwxr-xr-x | testsuite/gna/bug085/testsuite.sh | 9 |
2 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/gna/bug085/foo.vhdl b/testsuite/gna/bug085/foo.vhdl new file mode 100644 index 000000000..a5eec4d33 --- /dev/null +++ b/testsuite/gna/bug085/foo.vhdl @@ -0,0 +1,13 @@ +entity foo is +end entity; + +architecture fum of foo is +begin + process + begin + report "integer'high = " & integer'image(integer'high); + report "16#1FFFFFFFF# = " + & integer'image(16#1FFFFFFFF#); + wait; + end process; +end architecture; diff --git a/testsuite/gna/bug085/testsuite.sh b/testsuite/gna/bug085/testsuite.sh new file mode 100755 index 000000000..88cd64e80 --- /dev/null +++ b/testsuite/gna/bug085/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure foo.vhdl + +clean + +echo "Test successful" |