The ensures there is an explicit address space id in the output.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219928
91177308-0d34-0410-b5e6-
96231b3b80d8
-// RUN: %clang_cc1 -x cl -cl-std=CL1.2 -emit-llvm %s -o - -verify | FileCheck %s
+// 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 global float
+// CHECK: @foo = external addrspace(3) global float
extern constant float foo;
kernel void test(global float* buf) {