summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug012/demo.vhd
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug012/demo.vhd')
-rw-r--r--testsuite/gna/bug012/demo.vhd14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/bug012/demo.vhd b/testsuite/gna/bug012/demo.vhd
new file mode 100644
index 0000000..2b97782
--- /dev/null
+++ b/testsuite/gna/bug012/demo.vhd
@@ -0,0 +1,14 @@
+entity bar is
+end entity bar;
+entity \foo\ is
+ port (test : in bit);
+end entity \foo\;
+architecture structural of \foo\ is
+begin -- architecture structural
+end architecture structural;
+architecture structural of bar is
+ signal test : bit;
+begin -- architecture structural
+ foo_1: entity work.\foo\
+ port map (test => test);
+end architecture structural;