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 ipa/83051
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
c_kind_tests_3.f03
blob
5d5f3ab195f5291a7e6f37c31cdfc0f92538c488
1
! { dg-do compile }
2
!
3
! PR 47023: [4.6/4.7 regression] C_Sizeof: Rejects valid code
4
!
5
! Contributed by <florian.rathgeber@gmail.com>
6
7
use iso_c_binding
8
real(c_double) x
9
print *, c_sizeof(x)
10
print *, c_sizeof(0.0_c_double)
11
end