Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist113.C
blob: 0b7e7ff606a4c4e68c10543a7ac5fbf93493c7e5 [
file
] [
log
] [
blame
]
// PR c++/89297
// { dg-do compile { target c++11 } }
int
id
(
int
v
)
{
return
v
;
}
float
id
(
float
v
)
{
return
v
;
}
template
<typename>
int
foo
(
int
v
)
{
return
int
{
id
(
v
)};
}