1 // Copyright (C) 2000 Free Software Foundation
3 // by Alexandre Oliva <aoliva@cygnus.com>
5 // execution test - XFAIL *-*-*
9 const int &f(const int& I, const int& J) {
10 // this must not be optimized to I because it's an lvalue
11 return (I != J) ? I : J;
15 return (&f(i, j) != &j);