File: test_incomplete_dims.f90

package info (click to toggle)
fortran-language-server 3.2.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,268 kB
  • sloc: python: 9,688; f90: 1,195; fortran: 30; makefile: 28; ansic: 20
file content (9 lines) | stat: -rw-r--r-- 299 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9

! Tests that the parser will not break, when parsing incomplete variables
! constructs. This is particularly important for autocompletion.
program test_incomplete_dims
    implicit none
    integer   :: dim_val(1, 2
    character :: char_val*(10
    integer   :: (
end program test_incomplete_dims