summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/crash23.C
blob: 13249020fe974b2de11b7d9507368f6d476a0444 (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// Origin: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>

class T;
inline void operator<(T&, T&) { } // { dg-error "" }  previous definition
inline void operator<(T&, T&) { } // { dg-error "" } duplicate definition