Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / gcc / testsuite / g++.dg / cpp0x / auto18.C
blobe6ddf0c247d7d5184e4e8fa5c5b1b44b11673ead
1 // { dg-do compile { target c++11 } }
3 void f()
5   auto val = val;  // { dg-error "auto" }