blob: debeb7a77d2d219553c134e462d5f08a53ad2039 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* code should produce exactly one warning */
enum foo { bar };
enum footoo { bar1 };
enum foo f(void) { return bar; }
double g(void) { return 0.0; }
struct baz {
enum foo (*ff)(void);
};
struct baz a[] = { {f},
{g} };
static int h(enum foo *);
static int h(enum foo *arg)
{
return 0;
}
int main()
{
return 0;
}
|