Sign in
llvm
/
llvm-project
/
77ff6f7df8691a735a2dc979cdb44835dd2d41af
/
.
/
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"
);