mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-13 16:09:46 -04:00
9 lines
231 B
Common Lisp
9 lines
231 B
Common Lisp
// RUN: %clang_cc1 %s -ffake-address-space-map -emit-llvm -o - | FileCheck %s
|
|
|
|
// CHECK: @array = addrspace({{[0-9]+}}) constant
|
|
__constant float array[2] = {0.0f, 1.0f};
|
|
|
|
kernel void test(global float *out) {
|
|
*out = array[0];
|
|
}
|