repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++: hash table ICE with variadic alias [PR105003]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype77.C
blob
ffd59d4188cbadf5b40526f1cc08b7b93ef083ab
1
// PR c++/96103
2
// { dg-do compile { target c++11_only } }
3
4
decltype(auto) foo () { return 4; } // { dg-error ".decltype\\(auto\\). type specifier only available" }
5
6
void
7
bar ()
8
{
9
decltype(auto) i = 0; // { dg-error ".decltype\\(auto\\). type specifier only available" }
10
}