Lines Matching +full:- +full:- +full:requested +full:- +full:by

1 // RUN: %clang_cc1 -fsyntax-only -verify %s  -triple x86_64-pc-linux-gnu
4 int simple : I; // expected-error{{bit-field 'simple' has zero width}}
10 …(void)sizeof(Bitfields<0, 1>); // expected-note{{in instantiation of template class 'Bitfields<0, … in test_Bitfields()
15 int bitfield : I + J; // expected-error{{bit-field 'bitfield' has zero width}}
20 …(void)sizeof(BitfieldPlus<-5, 5>); // expected-note{{in instantiation of template class 'BitfieldP… in test_BitfieldPlus()
25 int bitfield : I - J; // expected-error{{bit-field 'bitfield' has negative width (-1)}} \
26 // expected-error{{bit-field 'bitfield' has zero width}}
31 …sizeof(BitfieldMinus<0, 1>); // expected-note{{in instantiation of template class 'BitfieldMinus<0… in test_BitfieldMinus()
32 …sizeof(BitfieldMinus<5, 5>); // expected-note{{in instantiation of template class 'BitfieldMinus<5… in test_BitfieldMinus()
37 int bitfield : I / J; // expected-error{{expression is not an integral constant expression}} \
38 // expected-note{{division by zero}}
43 …zeof(BitfieldDivide<5, 0>); // expected-note{{in instantiation of template class 'BitfieldDivide<5… in test_BitfieldDivide()
57 int bitfield : (-I); // expected-error{{bit-field 'bitfield' has negative width (-5)}}
62 int bitfield : (-I); // expected-error{{bit-field 'bitfield' has negative width (-5)}}
66 (void)sizeof(BitfieldNeg<-5>); // okay in test_BitfieldNeg()
67 …(void)sizeof(BitfieldNeg<5>); // expected-note{{in instantiation of template class 'BitfieldNeg<5>… in test_BitfieldNeg()
68 (void)sizeof(BitfieldNeg2<int, -5>); // okay in test_BitfieldNeg()
69 …zeof(BitfieldNeg2<int, 5>); // expected-note{{in instantiation of template class 'BitfieldNeg2<int… in test_BitfieldNeg()
117 // PR5266: non-dependent invocations of a function call operator. in test_call_operator()
130 …asm ("nop" : "=r"(*t) : "r"(*t)); // expected-error {{indirection requires pointer operand ('int' … in test_asm()
138 …test_asm(b); // expected-note {{in instantiation of function template specialization 'test_asm<int… in test_asm()
144 …int *ip = I; // expected-error{{cannot initialize a variable of type 'int *' with an rvalue of typ… in X()
151 void f() { X7(); } // expected-note{{instantiation}} in f()
159 …int *ip = I; // expected-error{{cannot initialize a variable of type 'int *' with an rvalue of typ… in operator new()
167 new X(); // expected-note{{instantiation of}} in f()
186 …__asm("addl $1, %0" : "=r" (o) : "0"(Vals<T>::i)); // expected-error {{input with type 'double' ma… in test_asm_tied()
190 test_asm_tied(1.f); // expected-note {{instantiation of}} in test_asm_tied()
204 : [i] "r"(-S())); in foo()