aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGenOpenCL/kernel-arg-info.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenOpenCL/kernel-arg-info.cl b/test/CodeGenOpenCL/kernel-arg-info.cl
index 9d52736a76..7e35a33564 100644
--- a/test/CodeGenOpenCL/kernel-arg-info.cl
+++ b/test/CodeGenOpenCL/kernel-arg-info.cl
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 %s -cl-kernel-arg-info -emit-llvm -o - | FileCheck %s
-kernel void foo(int *X, int Y, int anotherArg) {
+kernel void foo(global int *X, int Y, int anotherArg) {
*X = Y + anotherArg;
}