OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cp/:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
pr23075.C
1
// PR c/23075
2
// { dg-do compile }
3
// { dg-options "-O2 -Wreturn-type" }
4
5
int
6
foo (void)
7
{
8
return; // { dg-error "with no value" }
9
} // { dg-warning "no return statement" }