Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/auto54.C

raw
1 // PR c++/97895
2 // { dg-do compile { target c++11 } }
3
4 namespace std {
5 template<typename T> struct initializer_list {
6 const T *ptr;
7 decltype(sizeof 0) n;
8 };
9 auto a = {}; // { dg-error "unable to deduce" }
10 }