bolt/deps/llvm-18.1.8/clang/test/Sema/gnu89.c
2025-02-14 19:21:04 +01:00

5 lines
212 B
C

// RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only -verify
int f(int restrict);
void main(void) {} // expected-warning {{return type of 'main' is not 'int'}} expected-note {{change return type to 'int'}}