Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.oliva / expr2.C
blob1e63c645b6c16f05da4b258c4202b0c7e70837c8
1 // { dg-do run }
3 // Copyright (C) 2000 Free Software Foundation
5 // by Alexandre Oliva <aoliva@cygnus.com>
7 int i, j;
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;
14 int main () {
15   return (&f(i, j) != &j);