OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic36.C] - Blame information for rev 709

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-std=gnu++0x" }
2
template
3
void f(const T&, const Args&... args)
4
{
5
  f(args); // { dg-error "packs not expanded" }
6
}
7
 
8
template
9
struct tuple_base { };
10
 
11
template
12
struct tuple : tuple_base { }; // { dg-error "packs not expanded" }
13
 
14
// { dg-message "args" "note" { target *-*-* } 5 }
15
// { dg-message "Values" "note" { target *-*-* } 12 }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.