aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/verifier/def_allocatable.bad
blob: 65c9a1bee22f21787375234af1a69087a491a1ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

/* ERRORS */
int#[undefined] a;
any b;
int#[y+1] c; // not a constant expr
(any) d;
(int, int#[y+1]) e;
int(int) f;

count x = 5;
var count y;
int#[x+1] wronglength = [1,2,3]; // ERROR due to array type mismatch