summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/main.C
blob: ebf92177b2d01b9bc1d4ba82db8705cc5e6596ba (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do compile }

// Origin: Donald W. Gillies <dgillies@graviton.com>

// PR c++/4494: Incorrect diagnostics about return type of main.

typedef int int_t;

int_t main() {

}