File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -128,3 +128,13 @@ void invalid_parentheses3() __arm_inout((); // expected-error {{expected string
128
128
void invalid_parentheses4 () __arm_inout ); // expected-error {{expected '(' after ''__arm_inout''}} \
129
129
// expected-error {{expected function body after function declarator}}
130
130
void invalid_parentheses5 () __arm_inout (()); // expected-error {{expected string literal as argument of '__arm_inout' attribute}}
131
+ void invalid_parentheses6 () __arm_inout ("za "; // expected-error {{expected ')'}}
132
+ void invalid_parentheses7 () __arm_streaming (; // expected-error {{expected parameter declarator}} \
133
+ // expected-error {{expected ')'}} \
134
+ // expected-note {{to match this '('}} \
135
+ // expected-error {{function cannot return function type 'void ()'}} \
136
+ // expected-error {{'__arm_streaming' only applies to function types; type here is 'int ()'}} \
137
+ // expected-warning {{'__arm_streaming' only applies to non-K&R-style functions}}
138
+ void invalid_parentheses8 () __arm_streaming (); // expected-error {{function cannot return function type 'void ()'}} \
139
+ // expected-error {{'__arm_streaming' only applies to function types; type here is 'int ()'}} \
140
+ // expected-warning {{'__arm_streaming' only applies to non-K&R-style functions}}
You can’t perform that action at this time.
0 commit comments