Sign in
gnu
/
gcc
/
600752a84126f68c437a137bd085ad0caafc2828
/
.
/
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" }
}