OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bd0fe79233d2adfcaa86bba000e71eb41ce448c6
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
cast2.C
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
}