OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [ptrmem3.C] - Blame information for rev 717

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.