forked from OSchip/llvm-project
Testcase for yet another global constant Ada f-e bug.
llvm-svn: 36874
This commit is contained in:
parent
e7da2d6ac3
commit
6ded956aee
|
@ -0,0 +1,5 @@
|
|||
-- RUN: %llvmgcc -c %s -o /dev/null
|
||||
package body Global_Constant is
|
||||
begin
|
||||
raise An_Error;
|
||||
end;
|
|
@ -0,0 +1,4 @@
|
|||
package Global_Constant is
|
||||
pragma Elaborate_Body;
|
||||
An_Error : exception;
|
||||
end;
|
Loading…
Reference in New Issue