1
2int func() { return 42; }
3#pragma omp declare target indirect to(func)
4

source code of offload/test/Inputs/declare_indirect_func.c