[LLVM] Fix Maintainers.md formatting (NFC)
[llvm-project.git] / flang / test / Semantics / pdt02.f90
bloba4a64f9d6ca08c865e9c685fd83d2353a30c2517
1 ! RUN: %flang_fc1 -fdebug-unparse %s 2>&1 | FileCheck %s
2 program p
3 type t(k,n)
4 integer, kind :: k
5 integer(k), len :: n
6 !CHECK: warning: INTEGER(1) addition overflowed
7 integer :: c = n + 1_1
8 end type
9 !CHECK: in the context: instantiation of parameterized derived type 't(k=1_4,n=127_1)'
10 print *, t(1,127)()
11 end
13 !CHECK: PRINT *, t(k=1_4,n=127_1)(c=-128_4)