Lines Matching full:void
3 void foo(int n) {
4 (void) _Generic(0,
6 void(): 0, // expected-error {{type 'void ()' in generic association not an object type}}
9 (void) _Generic(0,
10 void (*)(): 0, // expected-note {{compatible type 'void (*)()' specified here}}
11 void (*)(void): 0); // expected-error {{type 'void (*)(void)' in generic association compatible with previously specified type 'void (*)()'}}
13 (void) _Generic((void (*)()) 0, // expected-error {{controlling expression type 'void (*)()' compatible with 2 generic association types}}
14 void (*)(int): 0, // expected-note {{compatible type 'void (*)(int)' specified here}}
15 void (*)(void): 0); // expected-note {{compatible type 'void (*)(void)' specified here}}
17 (void) _Generic(0, // expected-error {{controlling expression type 'int' not compatible with any generic association type}}