[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenSYCL / filescope_asm.c
blob9c0d088ec0a2d8b0257e27c42cbad8f1e97ad7ea
1 // RUN: %clang_cc1 -fsycl-is-device -triple spir64 -emit-llvm %s -o - | FileCheck %s
2 //
3 // Check that file-scope asm is ignored during device-side SYCL compilation.
4 //
5 // CHECK-NOT: module asm "foo"
6 __asm__("foo");