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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [crash11.C] - Rev 699

Compare with Previous | Blame | View Log

// { dg-do assemble  }
// Origin: Alfred Minarik <a8601248@unet.univie.ac.at>

template <typename T>
struct allocator
{
  typedef int size_type;
};

template <typename T>
struct string
{
  typedef typename allocator<T>::size_type size_type;

  static size_type size;

  size_type
  max_size() const { return size; }
};

template struct string <char>;

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.