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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [enum5.C] - Rev 816

Compare with Previous | Blame | View Log

// { dg-do compile }

// Origin: robertk@mathematik.uni-freiburg.de
//         Wolfgang Bangerth <bangerth@ticam.utexas.edu>

// PR c++/14479: Template header check for enum

template <int dim>
struct X {
  enum { dimension = dim };
  template<int d> void bar ();
};

template <>
template <>
void X<0>::bar<0> () {}

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.