blob: 6657eea5e1342783320f80cbb045d6b54ceefbbc [file] [log] [blame]
// Copyright (C) 2002 Free Software Foundation
// Contributed by Matt Austern <austern@apple.com>
// { dg-do compile }
void f()
{
int n;
char* p = &(char) n; // { dg-error "14:lvalue" }
}