summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendAda/fat_fields.adb
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/FrontendAda/fat_fields.adb')
-rw-r--r--llvm/test/FrontendAda/fat_fields.adb10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/FrontendAda/fat_fields.adb b/llvm/test/FrontendAda/fat_fields.adb
new file mode 100644
index 00000000000..906e34ee0be
--- /dev/null
+++ b/llvm/test/FrontendAda/fat_fields.adb
@@ -0,0 +1,10 @@
+-- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s -O2 -o /dev/null
+package body Fat_Fields is
+ procedure Proc is
+ begin
+ if P = null then
+ null;
+ end if;
+ end;
+end;
OpenPOWER on IntegriCloud