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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [vt-40092.C] - Rev 774

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

// { dg-do compile }
// { dg-options "-std=c++0x" }

template <typename... Types> struct package {};

template <int ArgGen> struct wrapper_gen {};

template <int ArgNest> struct wrapper_nest
{
  typedef wrapper_gen<ArgNest> type_nest;
};

template <int... ArgPack>
struct wrapper_pack
{
  typedef package<wrapper_gen <ArgPack>...> type_pack;
  // incorrect error: expansion pattern 'wrapper_gen<ArgNest>'
  //    contains no argument packs
};


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

powered by: WebSVN 2.1.0

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