Commit a9729c43 by Martin v. Löwis

New test case

From-SVN: r28693
parent ea1637e9
// Postfix expression must be evaluated even if accessing a static member.
// execution test - XFAIL *-*-*
struct S
{
static int i;
S* foo();
};
S* S::foo(){
i = 0;
return this;
};
int S::i = 1;
int main(void)
{
S * s = new S;
int k=(s->foo())->i;
return k;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment