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
/
gfortran.dg
/
used_types_21.f90
blob
04b109f139aaf510d621e684eed3c8c34c9dbd9d
1
! { dg-do compile }
2
! Check that pointer components are allowed to empty types.
3
4
TYPE
::
empty_t
5
END TYPE
empty_t
6
7
TYPE
::
comp_t
8
TYPE
(
empty_t
),
POINTER
::
ptr
9
END TYPE
comp_t
10
11
END