summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/modular3_pkg.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/modular3_pkg.ads')
-rw-r--r--gcc/testsuite/gnat.dg/modular3_pkg.ads11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/modular3_pkg.ads b/gcc/testsuite/gnat.dg/modular3_pkg.ads
new file mode 100644
index 00000000000..85cf6a8bfaa
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/modular3_pkg.ads
@@ -0,0 +1,11 @@
+package Modular3_Pkg is
+
+ type Int16_T is range -32768 .. 32767;
+ for Int16_T'Size use 16;
+ for Int16_T'Alignment use 1;
+
+ type Mod16_T is mod 2 ** 16;
+ for Mod16_T'Size use 16;
+ for Mod16_T'Alignment use 1;
+
+end Modular3_Pkg;