gnu89.c revision 75d8ba38965998a07a057c6d1d72359d2cc62c09
1// RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only -verify
2
3int f(int restrict);
4
5void main() {} // expected-warning {{return type of 'main' is not 'int'}}
6