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
c: fix ICE when forming composite type for two structures / unions [PR117548]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
dec_loc_rval_3.f03
blob
b3441b806eff88c4f621f0172c3a607c5ed03d39
1
! { dg-do compile }
2
! { dg-options "-std=f2003" }
3
!
4
! Test errors for usage of %loc as an rvalue with a real standard.
5
!
6
program main
7
implicit none
8
9
integer, volatile :: i, j, k
10
11
k = %loc(j) ! { dg-error "Legacy Extension:" }
12
13
end