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
/
defarg5.C
blob
661cb8ff42edceeb041fb2c43462bf43c4065f53
1
// { dg-do assemble }
2
3
template <int dim>
4
class Point {
5
public:
6
Point (Point<dim> &);
7
Point<dim> & operator = (Point<dim> &);
8
};
9
10
11
12
template <int dim>
13
class bar{
14
public:
15
void foo (Point<dim> p = Point<dim>());
16
};
17
18
19
20
template <>
21
void bar<2>::foo (Point<2> p) {
22
const int dim = 2;
23
Point<dim> q = p;
24
}