1// RUN: %clang_cc1 %s -cl-opt-disable -ffake-address-space-map -emit-llvm -o - | FileCheck %s
2
3// CHECK: @array = addrspace({{[0-9]+}}) constant
4__constant float array[2] = {0.0f, 1.0f};
5
6kernel void test(global float *out) {
7  *out = array[0];
8}
9