]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/lvalue2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / lvalue2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/lvalue2.C b/gcc/testsuite/g++.old-deja/g++.jason/lvalue2.C
deleted file mode 100644 (file)
index 2fba73c..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// PRMS Id: 4892
-// Bug: COND_EXPRs, MODIFY_EXPRs and COMPOUND_EXPRs aren't properly recognized
-// as lvalues.
-// Build don't link:
-
-extern int foo;
-int& f (int& a, int& b)
-{
-  return (foo ? a : b);                // gets bogus error - 
-}
-
-int& g (int& a)
-{
-  return (a = 0);              // gets bogus error - 
-}
-
-int& h (int& a, int& b)
-{
-  return (a = 1, b);           // gets bogus error - 
-}