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
* c-common.c (catenate_strings): New.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
cast2.C
blob
bd0fe79233d2adfcaa86bba000e71eb41ce448c6
1
// { dg-do assemble }
2
// The compiler tried to build up a double with a NOP_EXPR from
3
// integer_zero_node, which fails.
4
5
template <class T>
6
class vector {
7
public:
8
vector (int n, const T& value = T()) {}
9
};
10
11
void
12
foo (void)
13
{
14
vector<double> v (10);
15
}