Sign in
llvm
/
llvm-project
/
clang
/
14bf32b4b3c3e4d7977b838df72f3055f8fe8338
/
.
/
test
/
CodeGenSYCL
/
filescope_asm.c
blob: 5f4f6709a0e18393be1ac12d73094c7a9708bb5e [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsycl -fsycl-is-device -triple spir64-unknown-unknown-sycldevice -emit-llvm %s -o - | FileCheck %s
//
// Check that file-scope asm is ignored during device-side SYCL compilation.
//
// CHECK-NOT: module asm "foo"
__asm__
(
"foo"
);