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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic71.C] - Diff between revs 693 and 783

Only display areas with differences | Details | Blame | View Log

Rev 693 Rev 783
// { dg-options "-std=gnu++0x" }
// { dg-options "-std=gnu++0x" }
template struct list {};
template struct list {};
template
template
struct push_front;
struct push_front;
template
template
struct push_front, Head> {
struct push_front, Head> {
  typedef list type; // { dg-error "parameter packs not expanded" }
  typedef list type; // { dg-error "parameter packs not expanded" }
};
};
// { dg-message "Elements" "note" { target *-*-* } 9 }
// { dg-message "Elements" "note" { target *-*-* } 9 }
 
 

powered by: WebSVN 2.1.0

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