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
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
lookup3.C
1
// PR c++/12397
2
3
struct foo { };
4
5
template <typename T> struct bar
6
{
7
bar(){}
8
int i;
9
bar (const bar<T>& foo) : i (foo.i) {}
10
};
11
12
int main()
13
{
14
bar<int> b1;
15
bar<int> b2(b1);
16
}