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