1 ! RUN: %flang_fc1 -fdebug-dump-symbols %s 2>&1 | FileCheck --dump-input-context=500 %s
2 !CHECK: Global scope: size=0 alignment=1 sourceRange=0 bytes
3 !CHECK: IntrinsicModules scope: size=0 alignment=1 sourceRange=0 bytes
4 !CHECK: Module scope: __fortran_builtins
5 !CHECK: Module scope: __cuda_builtins size=0 alignment=1
6 !CHECK: Module scope: __fortran_type_info
7 !CHECK: Module scope: m size=0 alignment=1
8 !CHECK: Subprogram scope: devsubr size=0 alignment=1
12 attributes(device) subroutine devsubr()
13 !CHECK: blockdim: Use from blockdim in __cuda_builtins
14 !CHECK: blockidx: Use from blockidx in __cuda_builtins
15 !CHECK: griddim: Use from griddim in __cuda_builtins
16 !CHECK: threadidx: Use from threadidx in __cuda_builtins
17 !CHECK: warpsize: Use from warpsize in __cuda_builtins