Skip to content

Commit 25a0181

Browse files
ergawygithub-actions[bot]
authored andcommitted
Automerge: [flang][OpenMP] Fix omp-declarative-allocate-align.f90 expectations (#122675)
The test was effectively a no-op since we used `//` instead of `!` for `RUN` and `CHECK` lines. Also, we have to specify the proper OpenMP version.
2 parents 9dbe828 + b598715 commit 25a0181

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
! This test checks lowering of OpenMP allocate Directive with align clause.
22

3-
// RUN: not flang -fc1 -emit-fir -fopenmp %s 2>&1 | FileCheck %s
3+
! RUN: not %flang_fc1 -emit-fir -fopenmp -fopenmp-version=51 %s 2>&1 | FileCheck %s
44

55
program main
66
integer :: x
77

8-
// CHECK: not yet implemented: OpenMPDeclarativeAllocate
8+
! CHECK: not yet implemented: OpenMPDeclarativeAllocate
99
!$omp allocate(x) align(32)
1010
end

0 commit comments

Comments
 (0)