Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
ptrmem1.C
blob: ec73e6221f5bcc71e1ee12d24e759f65bd8bf1dc [
file
] [
log
] [
blame
]
// { dg-do assemble }
class
x
{
public
:
virtual
int
is_constant
();
};
void
foo
()
{
x
*
y
;
if
(
y
->
is_constant
)
// { dg-error "" } assuming &
{
}
}