comparison gcc/testsuite/gfortran.dg/pr39695_3.f90 @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
18:1830386684a0 19:2b5abeee2509
1 ! { dg-do compile }
2 !
3
4 function g()
5 interface
6 subroutine g() ! { dg-error "RESULT attribute in 'g'" }
7 end subroutine g
8 end interface
9 real g ! { dg-error "Symbol 'g' at .1. cannot have a type" }
10 end function
11