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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
compat
/
init
/
array5_y.C
blob
64b295ed56d0b315e80225fb319ccf230b0279ad
1
int count;
2
int num;
3
4
struct A
5
{
6
A();
7
~A();
8
};
9
10
A::A()
11
{
12
if (count == num)
13
throw "";
14
count++;
15
}
16
17
A::~A()
18
{
19
count--;
20
}