1 /* PR tree-optimization/65002 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
6 template <typename T> float floor(const T &) __attribute__((const));
7 template <typename T> float floor(const T &p1) { return p1; }
13 virtual void m_fn1(float) const;
17 B(int, int p2) : A(entity, p2) {}
18 void m_fn1(float p1) const { long b(floor(p1)); }