Peter Klausler d5103c1254
[flang] Line continuation for !@acc and !@cuf conditional lines (#164475)
Some Fortran source-level features that work for OpenMP !$ conditional
lines, such as free form line continuation, don't work for OpenACC !@acc
or CUDA !@cuf conditional lines. Make them less particular.

Fixes https://github.com/llvm/llvm-project/issues/164470.
2025-10-21 13:38:29 -07:00

7 lines
163 B
Plaintext

!RUN: %flang_fc1 -x cuda -fdebug-unparse %s 2>&1 | FileCheck %s
!CHECK: ATTRIBUTES(DEVICE) FUNCTION foo()
!@cuf attributes(device) &
function foo()
foo = 1.
end