c++: hash table ICE with variadic alias [PR105003]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / decltype77.C
blobffd59d4188cbadf5b40526f1cc08b7b93ef083ab
1 // PR c++/96103
2 // { dg-do compile { target c++11_only } }
4 decltype(auto) foo () { return 4; } // { dg-error ".decltype\\(auto\\). type specifier only available" }
6 void
7 bar ()
9   decltype(auto) i = 0; // { dg-error ".decltype\\(auto\\). type specifier only available" }