| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-require-effective-target ia32 } */ |
| 3 |
/* { dg-require-effective-target nonpic } */ |
| 4 |
/* { dg-options "-O2" } */ |
| 5 |
|
| 6 |
typedef unsigned int Cardinal; |
| 7 |
typedef char *String; |
| 8 |
typedef struct _WidgetRec *Widget; |
| 9 |
|
| 10 |
typedef union _XEvent { |
| 11 |
int type; |
| 12 |
long pad[24]; |
| 13 |
} XEvent; |
| 14 |
|
| 15 |
|
| 16 |
extern int SendMousePosition (Widget w, XEvent* event); |
| 17 |
|
| 18 |
|
| 19 |
void |
| 20 |
HandleIgnore(Widget w, |
| 21 |
XEvent * event, |
| 22 |
String * params , |
| 23 |
Cardinal *param_count ) |
| 24 |
{ |
| 25 |
|
| 26 |
(void) SendMousePosition(w, event); |
| 27 |
} |
| 28 |
|
| 29 |
/* { dg-final { scan-assembler "jmp" } } */ |