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

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