Skip to content

Commit e54abd5

Browse files
[Test] Add tests
1 parent 7cfcf18 commit e54abd5

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
! RUN: %python %S/../test_errors.py %s %flang -fopenmp
2+
! Test the source code starting with omp syntax
3+
4+
!$omp atomic write
5+
i = 123
6+
end
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
! RUN: %python %S/../test_errors.py %s %flang -fopenmp
2+
! Test the source code starting with omp syntax
3+
4+
!$omp declare simd
5+
integer :: x
6+
end
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
! RUN: %python %S/../test_errors.py %s %flang -fopenmp
2+
! Test the source code starting with omp syntax
3+
4+
!$omp threadprivate(a)
5+
end

0 commit comments

Comments
 (0)