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