summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/expr/lval1.C
blob: bed47d8e4ec6ebaa613bea840e3835e63d06e7bb (plain)
1
2
3
4
5
6
7
// Contributed by Matt Austern <austern@apple.com>

void f ()
{
  int n;
  (char) n = 1; // { dg-error "" }
}