Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only -verify |
Eli Friedman | 2073fd5 | 2009-05-27 22:48:34 +0000 | [diff] [blame] | 2 | |
3 | int f(int restrict); | ||||
John McCall | 75d8ba3 | 2012-02-14 19:50:52 +0000 | [diff] [blame^] | 4 | |
5 | void main() {} // expected-warning {{return type of 'main' is not 'int'}} |