]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.oliva/expr2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.oliva / expr2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/expr2.C b/gcc/testsuite/g++.old-deja/g++.oliva/expr2.C
deleted file mode 100644 (file)
index 0e25040..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (C) 2000 Free Software Foundation
-
-// by Alexandre Oliva <aoliva@cygnus.com>
-
-// execution test - XFAIL *-*-*
-
-int i, j;
-
-const int &f(const int& I, const int& J) {
-  // this must not be optimized to I because it's an lvalue
-  return (I != J) ? I : J;
-}
-
-int main () {
-  return (&f(i, j) != &j);
-}