Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/main1.C

raw
1 // { dg-do compile }
2
3 int main() // { dg-message "previous declaration" }
4 {
5 return 0;
6 }
7
8
9 int main(int, const char**) // { dg-error "conflicting" }
10 {
11 return 0;
12 }