1 2 3 4 5 6
// { dg-options "-std=c++0x" } void f() { auto val = val; // { dg-error "auto. type used in its own initializer" } }