Lines Matching refs:expected
10 [foo,+] {}; // expected-error {{expected expression}}
12 []; // expected-error {{expected body of lambda expression}}
13 [=,foo+] {}; // expected-error {{expected ',' or ']' in lambda capture list}}
14 [&this] {}; // expected-error {{cannot take the address of an rvalue of type 'C *'}}
24 …[foo{bar}] () {}; // expected-error {{<initializer_list>}} expected-warning {{will change meaning}}
25 [foo = {bar}] () {}; // expected-error {{<initializer_list>}}
27 [foo(bar) baz] () {}; // expected-error {{called object type 'int' is not a function}}
30 …[foo = bar baz]; // expected-warning {{receiver type 'int'}} expected-warning {{instance method '-…
32 [get(bar) baz]; // expected-warning {{instance method '-baz'}}
33 [get(bar), baz]; // expected-error {{expected body of lambda}}
35 …[foo = bar ++ baz]; // expected-warning {{receiver type 'int'}} expected-warning {{instance method…
36 [foo = bar + baz]; // expected-error {{expected body of lambda}}
37 …[foo = { bar, baz }]; // expected-error {{<initializer_list>}} expected-error {{expected body of l…
38 …[foo = { bar } baz ]; // expected-warning {{receiver type 'int'}} expected-warning {{instance meth…
39 …[foo = { bar }, baz ]; // expected-error {{<initializer_list>}} expected-error {{expected body of …