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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec30.C
blob
403b812f3e1fdbab55ca41855eaafdcc616ba302
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
}