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 tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
class_3.f03
blob
8e15f0e57a577739c2445a2f28a2f2679e30d7c7
1
! { dg-do compile }
2
! { dg-options "-std=f95" }
3
!
4
! PR 40940: [F03] CLASS statement
5
!
6
! Contributed by Janus Weil <janus@gcc.gnu.org>
7
8
type :: t
9
integer :: comp
10
end type
11
12
class(t), pointer :: cl ! { dg-error "CLASS statement" }
13
14
end
15