repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.dg
/
compat
/
init
/
byval1_y.C
blob
6e217e84ec5b356a35936e07770597d469562ca5
1
#include "byval1.h"
2
3
void *p[2];
4
5
int i;
6
int r;
7
8
C::C() { p[i++] = this; }
9
C::~C() { if (p[--i] != this) r = 1; }
10
11
void Foo (C c)
12
{
13
p[i++] = &c;
14
}