aboutsummaryrefslogtreecommitdiff
path: root/test/SemaOpenCL/extern.cl
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaOpenCL/extern.cl')
-rw-r--r--test/SemaOpenCL/extern.cl9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/SemaOpenCL/extern.cl b/test/SemaOpenCL/extern.cl
deleted file mode 100644
index 66efd7005836..000000000000
--- a/test/SemaOpenCL/extern.cl
+++ /dev/null
@@ -1,9 +0,0 @@
-// RUN: %clang_cc1 -x cl -cl-opt-disable -cl-std=CL1.2 -emit-llvm -ffake-address-space-map %s -o - -verify | FileCheck %s
-// expected-no-diagnostics
-
-// CHECK: @foo = external addrspace(2) constant float
-extern constant float foo;
-
-kernel void test(global float* buf) {
- buf[0] += foo;
-}