// RUN: %clang_cc1 -emit-llvm -triple powerpc64le-unknown-unknown -verify \
// RUN: -target-feature +float128 -mabi=ieeelongdouble -fsyntax-only -Wno-unused %s
// RUN: %clang_cc1 -emit-llvm -triple powerpc64le-unknown-unknown -verify \
// RUN: -target-feature +float128 -fsyntax-only -Wno-unused %s
__float128 // expected-error {{returning '__ibm128' from a function with incompatible result type '__float128'}}
__ibm128 // expected-error {{returning '__float128' from a function with incompatible result type '__ibm128'}}
__ibm128 gf;
void
long double // expected-error {{returning '__ibm128' from a function with incompatible result type 'long double'}}
__ibm128 // expected-error {{returning 'long double' from a function with incompatible result type '__ibm128'}}
void
long double // expected-no-error {{returning '__ibm128' from a function with incompatible result type 'long double'}}
__ibm128 // expected-no-error {{returning 'long double' from a function with incompatible result type '__ibm128'}}
void