summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendAda/unc_constructor.adb
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/FrontendAda/unc_constructor.adb')
-rw-r--r--llvm/test/FrontendAda/unc_constructor.adb9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/FrontendAda/unc_constructor.adb b/llvm/test/FrontendAda/unc_constructor.adb
new file mode 100644
index 00000000000..e32c04a2e01
--- /dev/null
+++ b/llvm/test/FrontendAda/unc_constructor.adb
@@ -0,0 +1,9 @@
+-- RUN: %llvmgcc -c %s -o /dev/null
+package body Unc_Constructor is
+ procedure P (X : A) is
+ begin
+ if X = A0 then
+ null;
+ end if;
+ end;
+end;
OpenPOWER on IntegriCloud