OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2010-11-13 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gfortran.dg
/
c_loc_tests_3.f03
1
! { dg-do compile }
2
use iso_c_binding
3
implicit none
4
character(kind=c_char,len=256),target :: arg
5
type(c_ptr),pointer :: c
6
c = c_loc(arg) ! { dg-error "must have a length of 1" }
7
8
end