summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/main1.C
blob: c5cfe8b9eb03c19c4550d1786fc1ed057e8d0fa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do compile }

int main()  // { dg-error "previous declaration" }
{
  return 0;
}


int main(int, const char**) // { dg-error "conflicts" }
{
  return 0;
}