llvm-project/flang/test/Parser/compiler-directives.f90

17 lines
307 B
Fortran

! RUN: %flang_fc1 -fdebug-unparse %s 2>&1
! Test that compiler directives can appear in various places.
!dir$ integer
module m
!dir$ integer
use iso_fortran_env
!dir$ integer
implicit integer(a-z)
!dir$ integer
!dir$ integer=64
!dir$ integer = 64
!dir$ optimize:1
!dir$ optimize : 1
end