mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-13 08:00:22 -04:00
10 lines
273 B
Common Lisp
10 lines
273 B
Common Lisp
// RUN: %clang_cc1 -x cl -cl-std=CL1.2 -emit-llvm -ffake-address-space-map %s -o - -verify | FileCheck %s
|
|
// expected-no-diagnostics
|
|
|
|
// CHECK: @foo = external addrspace(3) constant float
|
|
extern constant float foo;
|
|
|
|
kernel void test(global float* buf) {
|
|
buf[0] += foo;
|
|
}
|