llvm-project
6 строк · 216.0 Байт
1// RUN: %clang_cc1 -fsycl-is-device -triple spir64 -emit-llvm %s -o - | FileCheck %s
2//
3// Check that file-scope asm is ignored during device-side SYCL compilation.
4//
5// CHECK-NOT: module asm "foo"
6__asm__("foo");
7