]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
BOGUS
authorGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 12 Aug 2001 13:27:29 +0000 (13:27 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 12 Aug 2001 13:27:29 +0000 (13:27 +0000)
From-SVN: r44830

gcc/testsuite/g++.dg/warn/return-reference.C

index 9c367ea48ce464477a7923740e75d0c10b7297e8..a2aecb61c8792e38a329c29783e7239ace533723 100644 (file)
@@ -7,7 +7,7 @@ foo1()
 {
   static int empty;
   const int* x = bar();
-  return (x ? *x : empty);
+  return (x ? *x : empty);      // { dg-bogus ".*" "" }
 }
 
 const int&