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
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