OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* decl.c (compute_array_index_type): Don't try to do anything with
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
unify3.C
1
// Build don't link:
2
3
template <class T1, class T2>
4
struct ComputeBinaryType
5
{
6
};
7
8
template<class T1>
9
struct ComputeBinaryType<T1, double> {
10
void g();
11
};
12
13
template<class T1>
14
struct ComputeBinaryType<T1&, double> {
15
void h();
16
};
17
18
void f()
19
{
20
ComputeBinaryType<double, double> cb;
21
cb.g();
22
}