Sign in
llvm
/
llvm-project
/
clang
/
ab5c44bd0241ef6cba3aeef6c9e44451dc9ff50a
/
.
/
test
/
CodeGenSYCL
/
filescope_asm.c
blob: 3c1c12fd589a6aaba86788e3422af07a3c113ceb [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -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"
);