Peter Klausler af34890ef8
[flang] Let !@acc and !@cuf conditional lines be continuations (#164892)
OpenMP conditional compilation lines (!$) work as continuation lines,
but OpenACC and CUDA conditional lines do not.

Fixes https://github.com/llvm/llvm-project/issues/164727 and
https://github.com/llvm/llvm-project/issues/164708.
2025-10-24 14:15:16 -05:00

7 lines
154 B
Plaintext

!RUN: %flang_fc1 -fdebug-unparse -x cuda %s 2>&1 | FileCheck %s
!CHECK: REAL, MANAGED, ALLOCATABLE :: x
real, &
!@cuf managed, &
allocatable :: x
end