aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendAda
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendAda')
-rw-r--r--test/FrontendAda/constant_fold.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/FrontendAda/constant_fold.ads b/test/FrontendAda/constant_fold.ads
new file mode 100644
index 0000000..6223e7c
--- /dev/null
+++ b/test/FrontendAda/constant_fold.ads
@@ -0,0 +1,4 @@
+-- RUN: %llvmgcc -S -emit-llvm %s -o - | not grep ptrtoint
+package Constant_Fold is
+ Error : exception;
+end;