Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto54.C
blob: 0c1815a99bcecfa8a8fd9fd719b7191a668e4d0f [
file
] [
log
] [
blame
]
// PR c++/97895
// { dg-do compile { target c++11 } }
namespace
std
{
template
<
typename
T
>
struct
initializer_list
{
const
T
*
ptr
;
decltype
(
sizeof
0
)
n
;
};
auto
a
=
{};
// { dg-error "unable to deduce" }
}