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
coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pointer_check_8.f90
blob
99c6652f211c38ec2117db16df54af375d7cdd85
1
! { dg-do compile }
2
! { dg-options "-fcheck=pointer" }
3
!
4
! PR 46809: [OOP] ICE with -fcheck=pointer for CLASS IS
5
!
6
! Contributed by Salvatore Filippone <sfilippone@uniroma2.it>
7
8
type
t
9
end type
t
10
11
contains
12
13
subroutine
sub
(
a
)
14
class
(
t
) ::
a
15
select
type
(
a
)
16
class
is
(
t
)
17
print
*,
'Hi there'
18
end
select
19
end subroutine
20
21
end