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
/
spec9.C
blob
e2c5b4e5296b748764e3b22d7dace0d8851229fd
1
// { dg-do assemble }
2
extern "C" void abort();
3
4
template <class T>
5
inline int f(T t)
6
{
7
return 0;
8
}
9
10
int main()
11
{
12
if (!f(3))
13
abort();
14
}
15
16
template <>
17
int f(int i) // { dg-error "specialization\[^\n\]*after instantiation" }
18
{
19
return 1;
20
}
21
22