etc/services - sync with NetBSD-8
[minix.git] / external / bsd / llvm / dist / clang / test / CodeGenOpenCL / constant-addr-space-globals.cl
blob92fb9790b5fb254ef0a8357d164865d79cf3f3f5
1 // RUN: %clang_cc1 %s -ffake-address-space-map -emit-llvm -o - | FileCheck %s
3 // CHECK: @array = addrspace({{[0-9]+}}) constant
4 __constant float array[2] = {0.0f, 1.0f};
6 kernel void test(global float *out) {
7 *out = array[0];