Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / g++.dg / warn / pr23075.C
index e5b1b48..59e93be 100644 (file)
@@ -6,4 +6,4 @@ int
 foo (void)
 {
   return;      // { dg-error "with no value" }
-}              // { dg-warning "no return statement" }
+}              // { dg-bogus "no return statement" }