11! REQUIRES: openmp_runtime
2- ! RUN: %flang_fc1 -fdebug-unparse -fopenmp-version=52 %openmp_flags %s | FileCheck --ignore-case --check-prefix="UNPARSE" %s
2+ ! RUN: %flang_fc1 -fdebug-unparse -fopenmp-version=52 %openmp_flags %s | FileCheck --ignore-case --check-prefix="UNPARSE" %s
33! RUN: %flang_fc1 -fdebug-dump-parse-tree-no-sema -fopenmp-version=52 %openmp_flags %s | FileCheck --check-prefix="PARSE-TREE" %s
44
55SUBROUTINE test_interop_01 ()
@@ -15,7 +15,7 @@ END SUBROUTINE test_interop_01
1515! PARSE-TREE: | SubroutineStmt
1616! PARSE-TREE: | | Name = 'test_interop_01'
1717! PARSE-TREE: | SpecificationPart
18- ! PARSE-TREE: | | ImplicitPart ->
18+ ! PARSE-TREE: | | ImplicitPart ->
1919! PARSE-TREE: | ExecutionPart -> Block
2020! PARSE-TREE: | | ExecutionPartConstruct -> ExecutableConstruct -> OpenMPConstruct -> OpenMPStandaloneConstruct -> OpenMPInteropConstruct -> OmpDirectiveSpecification
2121! PARSE-TREE: | | | OmpDirectiveName -> llvm::omp::Directive = interop
@@ -47,7 +47,7 @@ END SUBROUTINE test_interop_02
4747! PARSE-TREE: | SpecificationPart
4848! PARSE-TREE: | | UseStmt
4949! PARSE-TREE: | | | Name = 'omp_lib'
50- ! PARSE-TREE: | | ImplicitPart ->
50+ ! PARSE-TREE: | | ImplicitPart ->
5151! PARSE-TREE: | | DeclarationConstruct -> SpecificationConstruct -> TypeDeclarationStmt
5252! PARSE-TREE: | | | DeclarationTypeSpec -> IntrinsicTypeSpec -> IntegerTypeSpec -> KindSelector -> Scalar -> Integer -> Constant -> Expr -> Designator -> DataRef -> Name = 'omp_interop_kind'
5353! PARSE-TREE: | | | EntityDecl
@@ -90,7 +90,7 @@ END SUBROUTINE test_interop_03
9090! PARSE-TREE: | SpecificationPart
9191! PARSE-TREE: | | UseStmt
9292! PARSE-TREE: | | | Name = 'omp_lib'
93- ! PARSE-TREE: | | ImplicitPart ->
93+ ! PARSE-TREE: | | ImplicitPart ->
9494! PARSE-TREE: | | DeclarationConstruct -> SpecificationConstruct -> TypeDeclarationStmt
9595! PARSE-TREE: | | | DeclarationTypeSpec -> IntrinsicTypeSpec -> IntegerTypeSpec -> KindSelector -> Scalar -> Integer -> Constant -> Expr -> Designator -> DataRef -> Name = 'omp_interop_kind'
9696! PARSE-TREE: | | | EntityDecl
@@ -133,13 +133,13 @@ END SUBROUTINE test_interop_04
133133! PARSE-TREE: | SpecificationPart
134134! PARSE-TREE: | | UseStmt
135135! PARSE-TREE: | | | Name = 'omp_lib'
136- ! PARSE-TREE: | | ImplicitPart ->
136+ ! PARSE-TREE: | | ImplicitPart ->
137137! PARSE-TREE: | | DeclarationConstruct -> SpecificationConstruct -> TypeDeclarationStmt
138138! PARSE-TREE: | | | DeclarationTypeSpec -> IntrinsicTypeSpec -> IntegerTypeSpec -> KindSelector -> Scalar -> Integer -> Constant -> Expr -> Designator -> DataRef -> Name = 'omp_interop_kind'
139139! PARSE-TREE: | | | EntityDecl
140140! PARSE-TREE: | | | | Name = 'obj'
141141! PARSE-TREE: | | DeclarationConstruct -> SpecificationConstruct -> TypeDeclarationStmt
142- ! PARSE-TREE: | | | DeclarationTypeSpec -> IntrinsicTypeSpec -> IntegerTypeSpec ->
142+ ! PARSE-TREE: | | | DeclarationTypeSpec -> IntrinsicTypeSpec -> IntegerTypeSpec ->
143143! PARSE-TREE: | | | AttrSpec -> ArraySpec -> ExplicitShapeSpec
144144! PARSE-TREE: | | | | SpecificationExpr -> Scalar -> Integer -> Expr -> LiteralConstant -> IntLiteralConstant = '1'
145145! PARSE-TREE: | | | ExplicitShapeSpec
@@ -185,7 +185,7 @@ END SUBROUTINE test_interop_05
185185! PARSE-TREE: | SpecificationPart
186186! PARSE-TREE: | | UseStmt
187187! PARSE-TREE: | | | Name = 'omp_lib'
188- ! PARSE-TREE: | | ImplicitPart ->
188+ ! PARSE-TREE: | | ImplicitPart ->
189189! PARSE-TREE: | | DeclarationConstruct -> SpecificationConstruct -> TypeDeclarationStmt
190190! PARSE-TREE: | | | DeclarationTypeSpec -> IntrinsicTypeSpec -> IntegerTypeSpec -> KindSelector -> Scalar -> Integer -> Constant -> Expr -> Designator -> DataRef -> Name = 'omp_interop_kind'
191191! PARSE-TREE: | | | EntityDecl
0 commit comments