Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gfortran.dg/pure_initializer_3.f90 @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 ! { dg-do compile } | |
2 ! | |
3 ! PR fortran/42922 | |
4 ! | |
5 ! Contributed by mrestelli@gmail.com | |
6 ! | |
7 pure subroutine psub() | |
8 implicit none | |
9 type ilist | |
10 integer :: i = 0 | |
11 end type ilist | |
12 type(ilist) :: x | |
13 x%i = 1 | |
14 end subroutine psub |