Lines Matching +full:- +full:qf
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 \
2 // RUN: -triple powerpc64le-unknown-linux-gnu -target-cpu pwr8 \
3 // RUN: -target-feature +float128 %s
5 __float128 qf();
10 long double ld{qf()}; // expected-error {{cannot initialize a variable of type 'long double' with a…
11 __float128 q{ldf()}; // expected-error {{cannot initialize a variable of type '__float128' with an…
13 auto test1(__float128 q, long double ld) -> decltype(q + ld) { // expected-error {{invalid operands… in test1()
14 …return q + ld; // expected-error {{invalid operands to binary expression ('__float128' and 'l… in test1()
17 auto test2(long double a, __float128 b) -> decltype(a + b) { // expected-error {{invalid operands t… in test2()
18 …return a + b; // expected-error {{invalid operands to binary expression ('long double' and '_… in test2()
25 …ld + q; // expected-error {{invalid operands to binary expression ('long double' and '__float128')… in test3()
26 …q + ld; // expected-error {{invalid operands to binary expression ('__float128' and 'long double')… in test3()
27 …ld - q; // expected-error {{invalid operands to binary expression ('long double' and '__float128')… in test3()
28 …q - ld; // expected-error {{invalid operands to binary expression ('__float128' and 'long double')… in test3()
29 …ld * q; // expected-error {{invalid operands to binary expression ('long double' and '__float128')… in test3()
30 …q * ld; // expected-error {{invalid operands to binary expression ('__float128' and 'long double')… in test3()
31 …ld / q; // expected-error {{invalid operands to binary expression ('long double' and '__float128')… in test3()
32 …q / ld; // expected-error {{invalid operands to binary expression ('__float128' and 'long double')… in test3()
33 ld = q; // expected-error {{assigning to 'long double' from incompatible type '__float128'}} in test3()
34 q = ld; // expected-error {{assigning to '__float128' from incompatible type 'long double'}} in test3()
35 q + b ? q : ld; // expected-error {{incompatible operand types ('__float128' and 'long double')}} in test3()