// Test for message: dubious conversion of enum to '%s' [246]
// This message is not used.
/* lint1-extra-flags: -X 351 */
enum color {
RED, GREEN, BLUE
};
double
to_double(enum color c)
{
return c;
}
void *
to_pointer(enum color c)
{
/* expect+1: warning: invalid combination of pointer 'pointer to void' and integer 'enum color' for 'return' [183] */
return c;
}