1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only -verify 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc int f(int restrict); 4*f4a2713aSLionel Sambuc main()5*f4a2713aSLionel Sambucvoid main() {} // expected-warning {{return type of 'main' is not 'int'}} expected-note {{change return type to 'int'}} 6