blob: 184afce900b6bca344c3901041446d73bb53891b (
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 "non-lvalue" }
}
|