From: Matt Arsenault Date: Tue, 29 Jan 2019 21:14:56 +0000 (+0000) Subject: OpenCL: Try to fix bot test failure X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fa24f1025d9245000e40c5e082d3c23597a750a;p=clang OpenCL: Try to fix bot test failure git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@352544 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaOpenCL/format-strings-fixit.cl b/test/SemaOpenCL/format-strings-fixit.cl index e1181e1e3e..f30fb756b3 100644 --- a/test/SemaOpenCL/format-strings-fixit.cl +++ b/test/SemaOpenCL/format-strings-fixit.cl @@ -3,6 +3,8 @@ // RUN: %clang_cc1 -cl-std=CL1.2 -fsyntax-only -pedantic -Wall -Werror %t // RUN: %clang_cc1 -cl-std=CL1.2 -E -o - %t | FileCheck %s +#pragma OPENCL EXTENSION cl_khr_fp64 : enable + typedef __attribute__((ext_vector_type(4))) char char4; typedef __attribute__((ext_vector_type(4))) short short4; typedef __attribute__((ext_vector_type(4))) int int4;