Sign in
android
/
toolchain
/
rustc
/
bcf972c0208490b0eb3ce3c170c2db486ba945b3
/
.
/
src
/
llvm-project
/
clang
/
test
/
CodeGenSYCL
/
filescope_asm.c
blob: 9c0d088ec0a2d8b0257e27c42cbad8f1e97ad7ea [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsycl-is-device -triple spir64 -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"
);