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
Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
spec8.C
1
// { dg-do run }
2
extern "C" void abort();
3
4
template <void* P>
5
void f(int j);
6
7
template <int I>
8
void f(int j);
9
10
11
template <void* P>
12
void f(int j)
13
{
14
abort();
15
}
16
17
18
template <int I>
19
void f(int j)
20
{
21
}
22
23
24
int main()
25
{
26
f<3>(7);
27
}
28