1// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3void  // expected-error {{error: 'main' must return 'int'}}
4main( // expected-error {{error: first parameter of 'main' (argument count) must be of type 'int'}}
5     float a
6) {
7}
8