Debian Codegraph @

clang/test/Sema/main-no-return-c89-2.c

raw
1 /* RUN: %clang_cc1 -std=c89 -fsyntax-only -verify -Wno-strict-prototypes -Wmain-return-type %s
2 */
3
4 /* expected-no-diagnostics */
5
6 void exit(int);
7
8 int main() {
9 if (1)
10 exit(1);
11 }