aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug060/corelib.v08.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-09-21 06:48:13 +0200
committerTristan Gingold <tgingold@free.fr>2016-09-22 21:26:53 +0200
commit0dbd1e7c44a0046012ed57218458145935010d41 (patch)
tree87610b1582def8f3bc5802dccf139767f028cec2 /testsuite/gna/bug060/corelib.v08.vhdl
parentbcfbe673c08402fc63e2acb4a350d407e14fe993 (diff)
downloadghdl-0dbd1e7c44a0046012ed57218458145935010d41.tar.gz
ghdl-0dbd1e7c44a0046012ed57218458145935010d41.tar.bz2
ghdl-0dbd1e7c44a0046012ed57218458145935010d41.zip
Testcase for interface type.
Diffstat (limited to 'testsuite/gna/bug060/corelib.v08.vhdl')
-rw-r--r--testsuite/gna/bug060/corelib.v08.vhdl37
1 files changed, 37 insertions, 0 deletions
diff --git a/testsuite/gna/bug060/corelib.v08.vhdl b/testsuite/gna/bug060/corelib.v08.vhdl
new file mode 100644
index 000000000..b0b895e07
--- /dev/null
+++ b/testsuite/gna/bug060/corelib.v08.vhdl
@@ -0,0 +1,37 @@
+-- EMACS settings: -*- tab-width: 2;indent-tabs-mode: t -*-
+-- vim: tabstop=2:shiftwidth=2:noexpandtab
+-- kate: tab-width 2;replace-tabs off;indent-width 2;
+-- =============================================================================
+-- Authors: Patrick Lehmann
+--
+-- Package: Protected type implementations.
+--
+-- Description:
+-- -------------------------------------
+-- .. TODO:: No documentation available.
+--
+-- License:
+-- =============================================================================
+-- Copyright 2007-2016 Technische Universitaet Dresden - Germany,
+-- Chair for VLSI-Design, Diagnostics and Architecture
+--
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- =============================================================================
+
+package corelib is
+ -- Lists
+ package Integer_List_Pkg is new work.corelib_List
+ generic map (ELEMENT_TYPE => integer);
+
+ alias Integer_List is Integer_List_Pkg.PT_List;
+end package;