1 // RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s -std=c99
8 int test(fmt
) // expected-warning {{a function definition without a prototype is deprecated in all versions of C and is not supported in C23}}
22 void exit(); // expected-warning {{a function declaration without a prototype is deprecated in all versions of C}}
24 int main(argc
,argv
) // expected-warning {{a function definition without a prototype is deprecated in all versions of C and is not supported in C23}}