repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-template3.C
blob
b65a8473a09a2047aba82439a47ce49a5cf54c28
1
// PR c++/97899
2
// { dg-do compile { target c++11 } }
3
4
template <typename T = int>
5
int fn()
6
{
7
return 1;
8
}
9
10
template <typename T>
11
void bar() {
12
const int i = int{fn()};
13
}