aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/synth52/pkg_test.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/synth52/pkg_test.vhdl')
-rw-r--r--testsuite/synth/synth52/pkg_test.vhdl13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/synth/synth52/pkg_test.vhdl b/testsuite/synth/synth52/pkg_test.vhdl
new file mode 100644
index 000000000..820e0b84a
--- /dev/null
+++ b/testsuite/synth/synth52/pkg_test.vhdl
@@ -0,0 +1,13 @@
+library work;
+ use work.sample_pkg.all;
+
+entity pkg_test is
+ port (
+ o : out integer
+ );
+end pkg_test;
+
+architecture rtl of pkg_test is
+begin
+ o <= SAMPLE_CONSTANT;
+end rtl;