diff options
Diffstat (limited to 'gcc/testsuite/gnat.dg/constant1.adb')
-rw-r--r-- | gcc/testsuite/gnat.dg/constant1.adb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/constant1.adb b/gcc/testsuite/gnat.dg/constant1.adb new file mode 100644 index 000000000..6cd1bcfd2 --- /dev/null +++ b/gcc/testsuite/gnat.dg/constant1.adb @@ -0,0 +1,8 @@ +-- { dg-do compile } + +procedure Constant1 is + Def_Const : constant Integer; + pragma Import (Ada, Def_Const); +begin + null; +end; |