1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/FrontendAda/real_cst.adb
Duncan Sands 407edbd63b Will not compile without the spec!
llvm-svn: 128623
2011-03-31 10:03:32 +00:00

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;