aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug18353
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug18353')
-rw-r--r--testsuite/gna/bug18353/TESTCASE.vhdl22
-rwxr-xr-xtestsuite/gna/bug18353/testsuite.sh10
2 files changed, 32 insertions, 0 deletions
diff --git a/testsuite/gna/bug18353/TESTCASE.vhdl b/testsuite/gna/bug18353/TESTCASE.vhdl
new file mode 100644
index 000000000..d4a333e5f
--- /dev/null
+++ b/testsuite/gna/bug18353/TESTCASE.vhdl
@@ -0,0 +1,22 @@
+library ieee;
+use ieee.std_logic_1164.all;
+use ieee.numeric_std.all;
+
+
+entity TESTCASE is
+end TESTCASE;
+
+
+architecture DUMMY of TESTCASE is
+begin
+
+ dummy: process
+ constant str : string := "8#5382#";
+ variable xv : integer;
+ begin
+ xv := integer'value(str);
+ report "xv := " & integer'image(xv) severity NOTE;
+ wait;
+ end process;
+
+end DUMMY;
diff --git a/testsuite/gna/bug18353/testsuite.sh b/testsuite/gna/bug18353/testsuite.sh
new file mode 100755
index 000000000..a1d7c31b1
--- /dev/null
+++ b/testsuite/gna/bug18353/testsuite.sh
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze TESTCASE.vhdl
+elab_simulate_failure testcase
+
+clean
+
+echo "Test successful"