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
This should always be signed chars, so use int8_t. This fixes a miscompile when
[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
;