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/] [crash17.C] - Rev 149

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

template <int I> 
struct A {
};

template <typename T>
struct B {
  typedef typename T::type type;
  static const type j = T::j;

  A<j> b;
};

struct C {
  typedef int type;
  static const int j = 3;
};

int i = B<C>::j;

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.