6 lines · c
1// RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only -verify2 3int f(int restrict);4 5void main(void) {} // expected-warning {{return type of 'main' is not 'int'}} expected-note {{change return type to 'int'}}6 1// RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only -verify2 3int f(int restrict);4 5void main(void) {} // expected-warning {{return type of 'main' is not 'int'}} expected-note {{change return type to 'int'}}6