2010-01-01 10:34:51 +00:00
|
|
|
// RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only -verify
|
2009-06-02 17:58:47 +00:00
|
|
|
|
|
|
|
int f(int restrict);
|
2012-04-14 14:01:31 +00:00
|
|
|
|
2013-04-08 18:45:10 +00:00
|
|
|
void main() {} // expected-warning {{return type of 'main' is not 'int'}} expected-note {{change return type to 'int'}}
|