Anastasia Stulova | 7c30533 | 2016-10-28 12:59:39 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=CL1.2 |
Anastasia Stulova | b607e0f | 2016-02-02 11:29:43 +0000 | [diff] [blame] | 2 | |
Anastasia Stulova | 1202de3 | 2016-02-12 12:07:04 +0000 | [diff] [blame] | 3 | // expected-no-diagnostics |
| 4 | |
| 5 | float __attribute__((overloadable)) acos(float); |
| 6 | |
| 7 | typedef float float4 __attribute__((ext_vector_type(4))); |
| 8 | int printf(__constant const char* st, ...); |
| 9 | |
| 10 | void test(void) |
| 11 | { |
| 12 | float4 a; |
| 13 | printf("%8.4v4hlf\n", a); |
| 14 | } |