Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist34.C
blob: 335a7dab8e0828891db790ad68e4f431834c52cd [
file
] [
log
] [
blame
]
// PR c++/44157
// { dg-do compile { target c++11 } }
#include
<initializer_list>
template
<
typename
T
>
void
f
(
T
)
{
}
int
main
()
{
std
::
initializer_list
<int>
a
=
{
0
};
f
(
a
);
f
<
std
::
initializer_list
<int>
>({
0
});
}