Break circular dependency between FIR dialect and utilities
[llvm-project.git] / flang / test / Semantics / kinds05b.f90
blob3927829bbaab689972be0b747a02b82d5cd74d54
1 ! RUN: %python %S/test_errors.py %s %flang_fc1 -pedantic -Werror
2 ! Check that we get portability warning for the extension:
3 ! - matching but non-'E' exponent letter together with kind-param
5 subroutine s
6 real :: realvar1 = 4.0
7 real :: realvar2 = 4.0D6
8 real :: realvar3 = 4.0_8
9 real :: realvar4 = 4.0E6_4
10 real :: realvar5 = 4.0E6_8
11 !PORTABILITY: Explicit kind parameter together with non-'E' exponent letter is not standard
12 real :: realvar6 = 4.0D6_8
13 !WARNING: Explicit kind parameter on real constant disagrees with exponent letter 'd'
14 real :: realvar7 = 4.0D6_4
15 end subroutine s