mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-10 04:24:23 +00:00
![Duncan Sands](/assets/img/avatar_default.png)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128623 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
234 B
Ada
9 lines
234 B
Ada
-- RUN: %llvmgcc -S -O2 -gnatn %s -I%p/Support
|
|
package body Real_Cst is
|
|
Cst : constant Float := 0.0;
|
|
procedure Write (Stream : access Ada.Streams.Root_Stream_Type'Class) is
|
|
begin
|
|
Float'Write (Stream, Cst);
|
|
end;
|
|
end;
|