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++/54858
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec30.C
1
// { dg-do compile }
2
3
template<int N>
4
inline int
5
foo (int a)
6
{
7
return a;
8
}
9
10
template<>
11
inline int
12
foo<0> (int a = 123) // { dg-error "default argument" }
13
{
14
return a + 1;
15
}