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/] [instantiate13.C] - Blame information for rev 699

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 11 Jan 2001 
5
 
6
// Bug 1551. We were accessing some uninitialized memory, causing us
7
// to reject this.
8
 
9
template 
10
struct base
11
{
12
base();
13
base(unsigned);
14
};
15
 
16
template 
17
struct Y
18
{
19
Y(unsigned = 0);
20
};
21
 
22
template <>
23
Y::Y(unsigned) { }
24
 
25
base x;

powered by: WebSVN 2.1.0

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