Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }
}