Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto44.C
blob: 687f154a0959737dbe4425779bf73cb6d9d6bd8e [
file
] [
log
] [
blame
]
// PR c++/58614
// { dg-do compile { target c++11 } }
#include
<initializer_list>
void
foo
()
{
i
;
// { dg-error "not declared" }
auto
j
=
{
i
};
// { dg-error "unable to deduce" }
}