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
libstdc++: [_Hashtable] Fix some implementation inconsistencies
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist113.C
blob
0b7e7ff606a4c4e68c10543a7ac5fbf93493c7e5
1
// PR c++/89297
2
// { dg-do compile { target c++11 } }
3
4
int id(int v) { return v; }
5
float id(float v) { return v; }
6
7
template <typename>
8
int foo(int v)
9
{
10
return int{id(v)};
11
}