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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
fntmpdefarg7.C
blob
636bf1afd883ab720b3b598556d5cab5bde6d624
1
// PR c++/84489
2
// { dg-do compile { target c++11 } }
3
4
template <class T = int, T N = T(), bool B = (N >> 1)>
5
T f1() {return 0;}
6
7
int main()
8
{
9
f1(); // Bug here
10
}