Skip to content

Commit b598715

Browse files
authored
[flang][OpenMP] Fix omp-declarative-allocate-align.f90 expectations (llvm#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.
1 parent c2979c5 commit b598715

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)