repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make the asmparser reject function and type redefinitions. 'Merging' hasn't been
[llvm/stm8.git]
/
test
/
FrontendAda
/
real_cst.adb
blob
75143710252f1be848b1a8260c144a76ce29a544
1
-- RUN: %llvmgcc -S -O2 -gnatn %s -I%p/Support
2
package body
Real_Cst
is
3
Cst
:
constant
Float
:=
0.0
;
4
procedure
Write
(
Stream
:
access
Ada
.
Streams
.
Root_Stream_Type
'Class
)
is
5
begin
6
Float
'Write
(
Stream
,
Cst
);
7
end
;
8
end
;