summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/redecl1.C
blob: 0e01f2b478922b17d11db73308604e9a57371fa0 (plain)
1
2
3
4
5
// { dg-do assemble }
// GROUPS passed redeclaration
inline int min(int x, int y) {return x < y ? x : y;}	/* 235 */// { dg-error "" } .*
int min(int a, int b);
inline int min(int a, int b) {return (a < b)?a:b;}// { dg-error "" } .*