Skip to content

Commit 8ab753c

Browse files
committed
[flang][OpenMP] Add REQUIRES: asserts to test that relies on it
This should fix failures in release builds.
1 parent dceaa0f commit 8ab753c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flang/test/Lower/OpenMP/invalid-reduction-modifier.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
!Remove the --crash below once we can diagnose the issue more gracefully.
2+
!REQUIRES: asserts
23
!RUN: not --crash %flang_fc1 -fopenmp -emit-hlfir -o - %s
34

45
! Check that we reject the "task" reduction modifier on the "simd" directive.

0 commit comments

Comments
 (0)