// REQUIRES: amdgpu-registered-target
// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -x hip -fcuda-is-device \
// RUN: -verify -emit-llvm-only %s
extern "C" __device__ int ;
// Check that we don't crash when asked to printf a non-scalar arg.
;
__device__ void