aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug0120/print1.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug0120/print1.vhdl')
-rw-r--r--testsuite/gna/bug0120/print1.vhdl25
1 files changed, 25 insertions, 0 deletions
diff --git a/testsuite/gna/bug0120/print1.vhdl b/testsuite/gna/bug0120/print1.vhdl
new file mode 100644
index 000000000..39e74c973
--- /dev/null
+++ b/testsuite/gna/bug0120/print1.vhdl
@@ -0,0 +1,25 @@
+entity print1 is
+end;
+
+architecture behav of print1 is
+ -- Check comment 1
+ -- Check comment 2
+
+ -- Check long declaration indentation
+ constant bv1 : bit_vector :=
+ "0010001";
+constant bv2 : bit_vector := x"af";
+ -- Trailing comment
+begin
+ /* A long comment
+ for vhdl 08
+ */
+
+ process
+ begin
+ if(true/=false)
+ then
+ report "OK";
+ end if;
+ end process;
+end behav;