Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/cpp0x/auto31.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
// PR c++/51416 // { dg-do compile { target c++11 } } template<typename T, typename... U> void foo(T, U... u) { auto foo(u...); // { dg-error "auto" } } void bar() { foo(0); }