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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [crash64.C] - Blame information for rev 749

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

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
 
3
// Copyright (C) 2000 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 10 Jan 2001 
5
 
6
// Bug 1546. We ICE'd trying to unify an array of unknown bound,
7
// checking to see if it was a variable sized array.
8
 
9
template  class allocator {};
10
 
11
template 
12
struct _Alloc_traits
13
{
14
  static const bool _S_instanceless = false;
15
};
16
 
17
template 
18
struct _Alloc_traits<_Tp, allocator<_Tp1> >
19
{
20
  static const bool _S_instanceless = true;
21
};
22
 
23
typedef char state [];
24
bool y = _Alloc_traits >::_S_instanceless;

powered by: WebSVN 2.1.0

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