16 lines · plain
1! RUN: %python %S/test_errors.py %s %flang_fc1 -pedantic -Werror2! Check that we get portability warning for the extension:3! - matching but non-'E' exponent letter together with kind-param4 5subroutine s6 real :: realvar1 = 4.07 real :: realvar2 = 4.0D68 real :: realvar3 = 4.0_89 real :: realvar4 = 4.0E6_410 real :: realvar5 = 4.0E6_811 !PORTABILITY: Explicit kind parameter together with non-'E' exponent letter is not standard [-Wexponent-matching-kind-param]12 real :: realvar6 = 4.0D6_813 !WARNING: Explicit kind parameter on real constant disagrees with exponent letter 'd' [-Wexponent-matching-kind-param]14 real :: realvar7 = 4.0D6_415end subroutine s16