☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto44.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/auto44.C
code
plain
raw
1
// PR c++/58614
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
void foo()
7
{
8
i; // { dg-error "not declared" }
9
auto j = { i }; // { dg-error "unable to deduce" }
10
}