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
/
explicit77.C
blob
3e2ac1d76a912a56780cd39588660e811f205baa
1
// { dg-do assemble }
2
3
template <int I, int J, int K>
4
struct S {};
5
6
template <int I, int J>
7
struct S<I, J, 2> : public S<I, I, I>, S<J, J, J> {};
8
9
template <int I, int J, int K>
10
void f(S<I, J, K>, S<I, I, I>);
11
12
void g() {
13
S<0, 0, 0> s0;
14
S<0, 1, 2> s2;
15
16
f<0>(s0, s2);
17
f(s0, s2); // { dg-error "" } no matching function
18
}