alloc_comp_std.f90
来自「用于进行gcc测试」· F90 代码 · 共 15 行
F90
15 行
! { dg-do compile }! { dg-options "-std=f95" }!! Check that we don't accept allocatable components for -std=f95 (PR 20541)!program main type :: foo integer, allocatable :: bar(:) ! { dg-error "ALLOCATABLE attribute" } integer :: x ! Just to avoid "extra" error messages about empty type. end type fooend program main
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?