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
* intrinsic.c: Add EXECUTE_COMMAND_LINE intrinsic.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
iso_c_binding_init_expr.f03
blob
840b60e4eb264d663813fc11dbd6bc6a486333d8
1
! { dg-do "compile" }
2
! PR fortran/42354
3
4
use iso_c_binding
5
implicit none
6
integer, target :: a
7
type t
8
type(c_ptr) :: ptr = c_loc(a) ! { dg-error "must be an intrinsic function" }
9
end type t
10
type(c_ptr) :: ptr2 = c_loc(a) ! { dg-error "must be an intrinsic function" }
11
end