2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / other / ptrmem3.C
blobed6d875744190abf949c8045ebeb058b1d8d8e06
1 // Bug: The double cast had an TREE_INT_CST_HIGH of 0, while the single
2 // cast had -1, so the comparison failed.
4 // { dg-do run }
6 struct A { };
8 typedef int A::* aip;
9 typedef long A::* alp;
11 int main()
13   return ((aip)(alp)0 != (aip)0);