When a module file has been compiled with CUDA enabled, don't emit spurious errors about non-interoperable types when that module is read by a USE statement in a later non-CUDA compilation.
3 lines
132 B
Fortran
3 lines
132 B
Fortran
! RUN: %flang_fc1 -fsyntax-only %S/Inputs/modfile66.cuf && %flang_fc1 -fsyntax-only %s
|
|
use usereal2 ! valid since x is not used
|
|
end
|