view gcc/testsuite/gcc.c-torture/compile/PYRBUG.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

typedef struct
{
  int v;
  int h;
} Point;

typedef struct
{
  int top, left, bottom, right;
} Rect;

int
x_PtInRect (Point pt, Rect *r)
{
  return  pt.v >= r->top  && pt.v < r->bottom
    && pt.h >= r->left && pt.h < r->right;
}