repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
instantiate13.C
blob
efbc937988babf1a0a517caace1dee22fc2d78dc
1
// { dg-do assemble }
2
3
// Copyright (C) 2000 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 11 Jan 2001 <nathan@codesourcery.com>
5
6
// Bug 1551. We were accessing some uninitialized memory, causing us
7
// to reject this.
8
9
template <typename T>
10
struct base
11
{
12
base();
13
base(unsigned);
14
};
15
16
template <typename V>
17
struct Y
18
{
19
Y(unsigned = 0);
20
};
21
22
template <>
23
Y<char>::Y(unsigned) { }
24
25
base<double> x;