summaryrefslogtreecommitdiff
path: root/clang/test/CXX/basic/basic.start/basic.start.main/p2d.cpp
blob: bcdbdb260aee3853867b9899f5ad9bf75dde1d73 (about) (plain)
1
2
3
4
// RUN: %clang_cc1 -fsyntax-only -verify %s 

static int main() { // expected-error {{'main' is not allowed to be declared static}}
}