// RUN: %clang_cc1 -verify %s -pedantic-errors
// RUN: %clang_cc1 -verify %s -pedantic-errors -DINLINE
// RUN: %clang_cc1 -verify %s -pedantic-errors -DSTATIC
// RUN: %clang_cc1 -verify %s -pedantic-errors -std=c++11 -DCONSTEXPR
// RUN: %clang_cc1 -verify %s -std=c++11 -DDELETED
inline // expected-error {{'main' is not allowed to be declared inline}}
static // expected-error {{'main' is not allowed to be declared static}}
constexpr // expected-error {{'main' is not allowed to be declared constexpr}}
int = delete; // expected-error {{'main' is not allowed to be deleted}}