From a4c33ecd78b3b8e3ceca3e6c96626218304110f5 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 29 Jan 2019 21:14:56 +0000 Subject: [PATCH] OpenCL: Try to fix bot test failure llvm-svn: 352544 --- clang/test/SemaOpenCL/format-strings-fixit.cl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/test/SemaOpenCL/format-strings-fixit.cl b/clang/test/SemaOpenCL/format-strings-fixit.cl index e1181e1..f30fb75 100644 --- a/clang/test/SemaOpenCL/format-strings-fixit.cl +++ b/clang/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; -- 2.7.4