OpenCL: Try to fix bot test failure
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 29 Jan 2019 21:14:56 +0000 (21:14 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 29 Jan 2019 21:14:56 +0000 (21:14 +0000)
llvm-svn: 352544

clang/test/SemaOpenCL/format-strings-fixit.cl

index e1181e1..f30fb75 100644 (file)
@@ -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;