// RUN: %clang_cc1 -fsyntax-only %s -verify -pedantic -std=c99
// RUN: %clang_cc1 -fsyntax-only %s -verify -pedantic -std=c11
// RUN: %clang_cc1 -fsyntax-only %s -verify -pedantic -std=c17
// RUN: %clang_cc1 -fsyntax-only %s -verify -pedantic
// expected-no-diagnostics
// Math stuff
float g0 = ;
double g1 = ;
long double g2 = ;
float g3 = ;
double g4 = ;
long double g5 = ;
// GCC misc stuff
extern int ;
int h0 = ;
//int h1 = __builtin_choose_expr(1, 10, f());
//int h2 = __builtin_expect(0, 0);
int h3 = == 0x3412 ? 1 : ;
int h4 = == 0x34120000 ? 1 : ;
int h5 = == 0x3412000000000000 ? 1 : ;
short ;
short t = ? 42 : ;
// The calls to _Static_assert and _Generic produce warnings if the compiler default standard is < c11
// expected-warning@+9 {{'_Static_assert' is a C11 extension}}
// expected-warning@+9 {{'_Static_assert' is a C11 extension}}
// expected-warning@+9 {{'_Static_assert' is a C11 extension}}
// expected-warning@+9 {{'_Static_assert' is a C11 extension}} expected-warning@+9 {{'_Generic' is a C11 extension}}
// expected-warning@+9 {{'_Static_assert' is a C11 extension}} expected-warning@+9 {{'_Generic' is a C11 extension}}
// expected-warning@+9 {{'_Static_assert' is a C11 extension}} expected-warning@+9 {{'_Generic' is a C11 extension}}
// PR44684
;
;
;
;
;
;
// expected-warning@+3 {{'_Static_assert' is a C11 extension}}
__SIZE_TYPE__ ;
;