mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-23 13:35:42 -04:00

Improved some checks and moved testing of the default header in C++ mode into the Headers folder. Differential Revision: https://reviews.llvm.org/D59486 llvm-svn: 356450
16 lines
376 B
Common Lisp
16 lines
376 B
Common Lisp
// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=CL1.2
|
|
// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=c++
|
|
|
|
// expected-no-diagnostics
|
|
|
|
float __attribute__((overloadable)) acos(float);
|
|
|
|
typedef float float4 __attribute__((ext_vector_type(4)));
|
|
int printf(__constant const char* st, ...);
|
|
|
|
void test(void)
|
|
{
|
|
float4 a;
|
|
printf("%8.4v4hlf\n", a);
|
|
}
|