projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR c++/59111 ([c++11] ICE on invalid usage of auto in return type)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr59111.C
1
// PR c++/59111
2
// { dg-do compile { target c++11 } }
3
4
auto& foo(); // { dg-error "type specifier without trailing return type" }
5
int i = foo(); // { dg-error "cannot convert" }