Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / auto44.C
blob687f154a0959737dbe4425779bf73cb6d9d6bd8e
1 // PR c++/58614
2 // { dg-do compile { target c++11 } }
4 #include <initializer_list>
6 void foo()
8   i;  // { dg-error "not declared" }
9   auto j = { i };  // { dg-error "unable to deduce" }