bolt/deps/llvm-18.1.8/flang/test/Parser/OpenMP/threadprivate-blank-common-block.f90

10 lines
295 B
Fortran
Raw Normal View History

2025-02-14 19:21:04 +01:00
! RUN: not %flang_fc1 -fsyntax-only %s -fopenmp 2>&1 | FileCheck %s
! From Standard: A blank common block cannot appear in a threadprivate directive.
program main
integer :: a
common//a
!CHECK: error: expected one of '$@ABCDEFGHIJKLMNOPQRSTUVWXYZ_'
!$omp threadprivate(//)
end