Skip to content

Commit 39a63c8

Browse files
committed
Do not raise PassGlobalVariable warning in some tests
1 parent 933b506 commit 39a63c8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

flang/test/Semantics/call05.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
! RUN: %python %S/test_errors.py %s %flang_fc1 -pedantic
1+
! RUN: %python %S/test_errors.py %s %flang_fc1 -pedantic -Wno-pass-global-variable
22
! Test 15.5.2.5 constraints and restrictions for POINTER & ALLOCATABLE
33
! arguments when both sides of the call have the same attributes.
44

flang/test/Semantics/call07.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
! RUN: %python %S/test_errors.py %s %flang_fc1 -pedantic
1+
! RUN: %python %S/test_errors.py %s %flang_fc1 -pedantic -Wno-pass-global-variable
22
! Test 15.5.2.7 constraints and restrictions for POINTER dummy arguments.
33

44
module m

flang/test/Semantics/stmt-func02.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
! RUN: %python %S/test_errors.py %s %flang_fc1 -pedantic
1+
! RUN: %python %S/test_errors.py %s %flang_fc1 -pedantic -Wno-pass-global-variable
22
module m1
33
contains
44
real function rf2(x)

0 commit comments

Comments
 (0)