1// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3static int main() { // expected-error {{'main' is not allowed to be declared static}}
4}
5