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
aarch64: Introduce new unspecs for smax/smin
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p5469a.C
blob
03a398469acecf8ef0b487e31c4d2a1b5d8e226f
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
}