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
2015-07-03 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
c_sizeof_2.f90
blob
e3911facf6a158df78e4072787215829ff78b991
1
! { dg-do compile }
2
! { dg-options "-std=f2003 -Wall -Wno-conversion" }
3
! Support F2008's c_sizeof()
4
!
5
USE
ISO_C_BINDING
,
only
:
C_SIZE_T
,
c_sizeof
! { dg-error "is not in the selected standard" }
6
integer
(
C_SIZE_T
) ::
i
7
i
=
c_sizeof
(
i
)
8
end
9