// RUN: %clang_cc1 -x cl %s -verify -triple spir-unknown-unknown
// expected-no-diagnostics
// Test the forced language options for OpenCL are set correctly.
kernel void test;
int v1[ - 1];
int v2[ - 1];
int v3[ - 1];
int v4[ - 1];
int v5[ - 1];
int v6[ - 1];
int v7[ - 1];
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
int v8[ - 1];
int v9[ - 1];
#pragma OPENCL EXTENSION cl_khr_fp16 : enable
int v10[ - 1];
int v11[ - 1];
}
{
int v0[ - 1]