Home | History | Annotate | Download | only in basic.start.main

Lines Matching refs:main

28 Int main(Int argc, Carp argv[]) {
38 Int main(Int argc, Carp argv[], Char *env[]) {
44 int main() {
49 static int main() { // expected-error {{'main' is not allowed to be declared static}}
54 inline int main() { // expected-error {{'main' is not allowed to be declared inline}}
59 void // expected-error {{'main' must return 'int'}}
60 main( // expected-error {{first parameter of 'main' (argument count) must be of type 'int'}}
68 int main(int argc, const char* const* argv) {
74 int main() { } // expected-error{{'main' cannot be a template}}
78 constexpr int main() { } // expected-error{{'main' is not allowed to be declared constexpr}}
85 int main(int, const charT**) {}
91 int main(int, charT* const *) {}
97 int main(int, const charT* const *) {}
101 int main(void) {}
104 int main(void); // expected-error{{'main' cannot be a template}}
109 int main(void); // expected-error{{'main' cannot be a template}}
111 int main(void) {}