repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr59111.C
blob
62d8e8f86ec95cacec5c3d42b01ae4c7c7506015
1
// PR c++/59111
2
// { dg-do compile { target c++11 } }
3
4
auto& foo(); // { dg-error "type specifier without trailing return type" "" { target { ! c++14 } } }
5
int i = foo(); // { dg-error "" }