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
PR c++/20669
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
spec9.C
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