1 // RUN: %clang_cc1 -triple amdgcn-amd-amdhsa \
2 // RUN: -aux-triple x86_64-unknown-linux-gnu \
3 // RUN: -fcuda-is-device -verify -fsyntax-only %s
4 // RUN: %clang_cc1 -triple nvptx \
5 // RUN: -aux-triple x86_64-unknown-linux-gnu \
6 // RUN: -fcuda-is-device -verify -fsyntax-only %s
8 // expected-no-diagnostics
9 #define __device__ __attribute__((device))
12 __device__ __int128 d_unused;
13 __device__ __int128 d_glb;
14 __device__ __int128 bar() {