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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.dg/] [template/] [enum5.C] - Blame information for rev 20

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

Line No. Rev Author Line
1 12 jlechner
// { dg-do compile }
2
 
3
// Origin: robertk@mathematik.uni-freiburg.de
4
//         Wolfgang Bangerth 
5
 
6
// PR c++/14479: Template header check for enum
7
 
8
template 
9
struct X {
10
  enum { dimension = dim };
11
  template void bar ();
12
};
13
 
14
template <>
15
template <>
16
void X<0>::bar<0> () {}

powered by: WebSVN 2.1.0

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