// Contributed by Matt Austern void f () { int n; (char) n = 1; // { dg-error "3:lvalue required" } }