repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
other
/
ptrmem3.C
blob
ed6d875744190abf949c8045ebeb058b1d8d8e06
1
// Bug: The double cast had an TREE_INT_CST_HIGH of 0, while the single
2
// cast had -1, so the comparison failed.
3
4
// { dg-do run }
5
6
struct A { };
7
8
typedef int A::* aip;
9
typedef long A::* alp;
10
11
int main()
12
{
13
return ((aip)(alp)0 != (aip)0);
14
}