// RUN: %clang_cc1 -no-opaque-pointers %s -triple x86_64-unknown-linux-gnu -O0 -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 -no-opaque-pointers %s -triple x86_64-unknown-linux-gnu -O0 -emit-llvm -o - -cl-std=clc++ | FileCheck %s
__attribute__;
__attribute__ void read_image;
kernel void test_read_image {
// CHECK: call void @_Z10read_image14ocl_image1d_ro
read_image;
// CHECK: call void @_Z10read_image14ocl_image1d_wo
read_image;
}
void read_image