1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp
5 ! Semantic error for correct test case
8 integer i
, j
, k
, c
, d(100)
9 integer, allocatable
:: a(:), b(:)
15 !ERROR: List item 'a' present at multiple ALIGNED clauses
16 !$omp simd aligned(a, a)
22 !ERROR: List item 'a' present at multiple ALIGNED clauses
23 !ERROR: List item 'b' present at multiple ALIGNED clauses
24 !$omp simd aligned(a,a) aligned(b) aligned(b)
31 !ERROR: List item 'a' present at multiple ALIGNED clauses
32 !$omp simd aligned(a) aligned(a)
38 !$omp simd aligned(a) aligned(b)
45 !ERROR: List item 'a' present at multiple ALIGNED clauses
46 !$omp simd aligned(a) private(a) aligned(a)
55 !ERROR: 'c' is a common block name and can not appear in an ALIGNED clause
62 !ERROR: 'd' in ALIGNED clause must be of type C_PTR, POINTER or ALLOCATABLE
63 !$omp simd aligned(d:100)