Sign in
gnu
/
gcc
/
dc9b9e310659bc1320d94355d18ea0fe64b13df6
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
lvaddr.C
blob: 184afce900b6bca344c3901041446d73bb53891b [
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 "non-lvalue" }
}