aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1385/ex1.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1385/ex1.vhdl')
-rw-r--r--testsuite/gna/issue1385/ex1.vhdl15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue1385/ex1.vhdl b/testsuite/gna/issue1385/ex1.vhdl
new file mode 100644
index 000000000..ff0d3c1b7
--- /dev/null
+++ b/testsuite/gna/issue1385/ex1.vhdl
@@ -0,0 +1,15 @@
+entity ex1 is
+ generic (
+ g_use_dsp : STRING := "YES"
+ );
+ attribute use_dsp : string;
+ attribute use_dsp of ex1: entity is g_use_dsp;
+end entity;
+
+architecture a of ex1 is
+begin
+ process begin
+ report "Hello world" severity note;
+ wait;
+ end process;
+end a;