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.
7 lines
154 B
Plaintext
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
|