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
rs6000: Rework vector integer comparison in rs6000_emit_vector_compare - p5
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp81.C
blob
37a3417bfdf0067af7621670d5d10c3a1b60291c
1
// { dg-do assemble }
2
3
template <int i> class a
4
{
5
public :
6
int k;
7
8
template <int j> int f() const { return this->f<j-1>(); }
9
10
int g() const { return f<i>(); }
11
};
12
13
template <>
14
template <>
15
int a<2>::f<0>() const {
16
return 0;
17
}
18
19
int main()
20
{
21
a<2> x;
22
return x.g();
23
}
24