OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Index: cp/ChangeLog
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p5469a.C
1
// { dg-do run }
2
// prms-id: 5469
3
4
int count;
5
6
class A {
7
A();
8
A(const A&);
9
public:
10
A(int) { ++count; }
11
~A() { --count; }
12
int operator== (const A& r) { return 1; }
13
};
14
15
int main() {
16
{
17
A a (1);
18
if (a == 2 || a == 1)
19
;
20
}
21
return count;
22
}