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