Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-deduce2.C
blob: dbf68a40c8567e45c9ed09f4f27a592a3b243f88 [
file
] [
log
] [
blame
]
// Test for PR63149
// { dg-do compile { target c++11 } }
#include
<initializer_list>
const
auto
r
=
{
1
,
2
,
3
};
using
X
=
decltype
(
r
);
using
X
=
const
std
::
initializer_list
<int>
;