(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp2a/
pr98082.C
/* PR middle-end/98082 */
/* Reported by Martin Liska <marxin@gcc.gnu.org> */

/* { dg-do compile { target c++20 } } */
/* { dg-options "-fipa-icf" } */

class GoodIter {
public:
  GoodIter();
  GoodIter(GoodIter &);
};

GoodIter operator-(int, GoodIter) { return GoodIter(); }
GoodIter operator+(int, GoodIter) { return GoodIter(); }