llvm-project/clang/test/CXX/basic
Alp Toker 70fc29ca86 Don't accept qualified 'int' main return types in C++ or standard C mode
C++ [basic.start.main]p1: "It shall have a return type of type int"

ISO C is also clear about this, so only accept 'int' with qualifiers in GNUMode
C.

llvm-svn: 212171
2014-07-02 07:07:20 +00:00
..
basic.def.odr
basic.link Switch the semantic DeclContext for a block-scope declaration of a function or 2013-09-20 01:15:31 +00:00
basic.lookup The exception-declaration for a function-try-block cannot redeclare a 2014-06-02 13:10:07 +00:00
basic.scope The exception-declaration for a function-try-block cannot redeclare a 2014-06-02 13:10:07 +00:00
basic.start Don't accept qualified 'int' main return types in C++ or standard C mode 2014-07-02 07:07:20 +00:00
basic.stc/basic.stc.dynamic Add implicit declarations of allocation functions when looking them up for 2014-02-04 01:14:30 +00:00
basic.types C++1y constexpr extensions, round 1: Allow most forms of declaration and 2013-04-22 15:31:51 +00:00