================ @@ -104,3 +106,14 @@ void fun() { (void) b<double>; (void) var_host_only; } + +extern __global__ void external_func(); +extern void* const external_dep[] = { + (void*)(external_func) +}; +extern void* const external_arr[] = {}; + +void* host_fun() { + (void) external_dep; + (void) external_arr; +} ---------------- Artem-B wrote:
There are no CHECK lines here. https://github.com/llvm/llvm-project/pull/73549 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits