projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.8.1
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
auto-fn11.C
1
// { dg-options -std=c++1y }
2
3
auto f() { return; } // OK, return type is void
4
auto* g() { return; } // { dg-error "no value" }
5
auto* h() { } // { dg-error "no return statements" }