URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic65.C] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-options "-std=gnu++0x" }
struct unused;
template<typename T1 = unused, typename T2 = unused, typename T3 = unused,
typename T4 = unused, typename T5 = unused, typename T6 = unused>
struct tuple {};
template<typename... Args>
tuple<Args...> foo() { } // { dg-bogus "cannot expand" "" }
int main()
{
foo<int,int,int,int,int,int>();
}
Go to most recent revision | Compare with Previous | Blame | View Log