blob: 6657eea5e1342783320f80cbb045d6b54ceefbbc (
plain)
1
2
3
4
5
6
7
8
9
10
|
// 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" }
}
|