Tom Stellard | b919c7d | 2015-03-31 16:39:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic |
2 | // expected-no-diagnostics | ||||
3 | |||||
4 | kernel void test(global float *out, global float *in, global int* in2) { | ||||
5 | out[0] = __builtin_nanf(""); | ||||
6 | __builtin_memcpy(out, in, 32); | ||||
7 | out[0] = __builtin_frexpf(in[0], in2); | ||||
8 | } |