Testcase for yet another global constant Ada f-e bug.

llvm-svn: 36874
This commit is contained in:
Duncan Sands 2007-05-06 16:20:30 +00:00
parent e7da2d6ac3
commit 6ded956aee
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,5 @@
-- RUN: %llvmgcc -c %s -o /dev/null
package body Global_Constant is
begin
raise An_Error;
end;

View File

@ -0,0 +1,4 @@
package Global_Constant is
pragma Elaborate_Body;
An_Error : exception;
end;