1 | // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=CL1.2 |
---|---|
2 | // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=c++ |
3 | |
4 | // expected-no-diagnostics |
5 | |
6 | float __attribute__((overloadable)) acos(float); |
7 | |
8 | typedef float float4 __attribute__((ext_vector_type(4))); |
9 | int printf(__constant const char* st, ...); |
10 | |
11 | void test(void) |
12 | { |
13 | float4 a; |
14 | printf("%8.4v4hlf\n", a); |
15 | } |
16 |