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
2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
abstract_type_1.f90
blob
7a91e11a89c22242b78fcaf8a32995fbb3014a43
1
! { dg-do "compile" }
2
! { dg-options "-std=f95" }
3
4
! Abstract Types.
5
! Check that ABSTRACT is rejected for F95.
6
7
MODULE
m
8
9
TYPE
,
ABSTRACT
::
t
! { dg-error "Fortran 2003" }
10
INTEGER
::
x
11
END TYPE
t
! { dg-error "END MODULE" }
12
13
END MODULE
m
14
! { dg-final { cleanup-modules "m" } }