[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / kinds05.f90
blob90bd2508bfc2c08e5e0978a68bb14b909c5ded7a
1 ! RUN: %python %S/test_errors.py %s %flang_fc1 -pedantic -Werror
2 ! Check that we get portability warning for the extension:
3 ! - exponent-letter 'Q'
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: nonstandard usage: Q exponent
12 real :: realvar6 = 4.0Q6
13 end subroutine s