1 // RUN: %clang_cc1 -fsyntax-only -Wno-strict-prototypes -verify -pedantic %s
3 char *funk(int format
);
5 char *funk(enum Test x
);
7 int eli(float b
); // expected-note {{previous declaration is here}}
8 int b(int c
) {return 1;}
12 int eli(int (int)); // expected-error {{conflicting types for 'eli'}}
18 int bar(int i
) // expected-note {{previous definition is here}}
22 int bar() // expected-error {{conflicting types for 'bar'}}
27 int foobar(int); // expected-note {{previous declaration is here}}
28 int foobar() // expected-error {{conflicting types for 'foobar'}}
33 int wibble(); // expected-note {{previous declaration is here}}
34 float wibble() // expected-error {{conflicting types for 'wibble'}}