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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [vt-40092.C] - Blame information for rev 307

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

Line No. Rev Author Line
1 301 jeremybenn
// { dg-do "compile" }
2
// { dg-options "-std=c++0x" }
3
 
4
template  struct package {};
5
 
6
template  struct wrapper_gen {};
7
 
8
template  struct wrapper_nest
9
{
10
  typedef wrapper_gen type_nest;
11
};
12
 
13
template 
14
struct wrapper_pack
15
{
16
  typedef package...> type_pack;
17
  // incorrect error: expansion pattern 'wrapper_gen'
18
  //    contains no argument packs
19
};
20
 
21
 

powered by: WebSVN 2.1.0

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