Skip to content

Commit f2e919b

Browse files
[flang][test] add check for OpenMP experimental warning
1 parent 12c4645 commit f2e919b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

flang/test/Driver/fopenmp.f90

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,7 @@
7373
!
7474
! CHECK-LD-ANYMD: "{{.*}}ld{{(.exe)?}}"
7575
! CHECK-LD-ANYMD: "-l{{(omp|gomp|iomp5md)}}"
76+
!
77+
! RUN: %flang -fopenmp -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-EXPERIMENTAL
78+
!
79+
! CHECK-EXPERIMENTAL: flang{{.*}}: warning: OpenMP support in flang is still experimental

0 commit comments

Comments
 (0)