repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
expr_func4.adb
blob
79fc43707feb55e0e4c0bd33a41d8db2830e48a9
1
-- { dg-do compile }
2
3
procedure
Test_Exp
is
4
function
X
return
Boolean
is
5
(
Integer
'Size
=
32
)
or else
(
Float
'Size
=
32
);
-- { dg-error "expression function must be enclosed in parentheses" }
6
begin
7
null
;
8
end
;