// RUN: %clang_cc1 -verify -std=gnu++11 %s
// RUN: %clang_cc1 -verify -std=c++11 %s
// RUN: %clang_cc1 -triple powerpc64-linux -verify -std=c++11 %s
// RUN: %clang_cc1 -triple i686-windows-gnu -verify -std=c++11 %s
// RUN: %clang_cc1 -triple x86_64-windows-gnu -verify -std=c++11 %s
// RUN: %clang_cc1 -triple x86_64-windows-msvc -verify -std=c++11 %s
;
;
static_assert;
__float128 f;
;
;
int
// expected-no-error {{__float128 is not supported on this target}}
__float128 f; // expected-error {{__float128 is not supported on this target}}
// But this should work:
;
; // expected-error {{__float128 is not supported on this target}}
// FIXME: This could have a better diag.
int
__float128 f; // expected-error {{__float128 is not supported on this target}}
;
; // expected-error {{__float128 is not supported on this target}}
int
__ibm128 i;
;
int
// expected-no-error {{__ibm128 is not supported on this target}}
__ibm128 i; // expected-error {{__ibm128 is not supported on this target}}
; // expected-error {{__ibm128 is not supported on this target}}
int