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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [memtmpl1.C] - Diff between revs 149 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
// { dg-do compile }
// { dg-do compile }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 30 Jul 2003 
// Contributed by Nathan Sidwell 30 Jul 2003 
// PR 11347. ICE in tsubst
// PR 11347. ICE in tsubst
template  struct T1 {
template  struct T1 {
  enum {N};
  enum {N};
};
};
template struct T2 {
template struct T2 {
  template ::N + 1> struct B {};
  template ::N + 1> struct B {};
  struct C {};
  struct C {};
};
};
T2 t;
T2 t;
T2::B s;
T2::B s;
 
 

powered by: WebSVN 2.1.0

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