Skip to content

Commit 812afc9

Browse files
authored
Add test forissue 550360 (#1529)
1 parent 066f86a commit 812afc9

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
NOOPT = 1
2+
include ../../Makefile.defs
3+
4+
TESTNAME = parameter_dsa
5+
TESTSRC_MAIN = parameter_dsa.f90
6+
TESTSRC_AUX =
7+
TESTSRC_ALL = $(TESTSRC_MAIN) $(TESTSRC_AUX)
8+
9+
FLANG ?= flang
10+
CFLAGS =
11+
OMP_BIN = $(AOMP)/bin/$(FLANG)
12+
CC = $(OMP_BIN) $(VERBOSE)
13+
#-ccc-print-phases
14+
#"-\#\#\#"
15+
16+
include ../Makefile.rules
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
program shrd
2+
implicit none
3+
integer, parameter :: n = 7
4+
real, parameter :: m = 7.0
5+
6+
7+
!$omp parallel shared(n) firstprivate(m)
8+
print *, n, m
9+
!$omp end parallel
10+
end program shrd

0 commit comments

Comments
 (0)