blob: 6e217e84ec5b356a35936e07770597d469562ca5 [file] [log] [blame]
#include "byval1.h"
void *p[2];
int i;
int r;
C::C() { p[i++] = this; }
C::~C() { if (p[--i] != this) r = 1; }
void Foo (C c)
{
p[i++] = &c;
}