aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/980816-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/980816-1.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/980816-1.c51
1 files changed, 0 insertions, 51 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/980816-1.c b/gcc/testsuite/gcc.c-torture/compile/980816-1.c
deleted file mode 100644
index c56b6c9b92c..00000000000
--- a/gcc/testsuite/gcc.c-torture/compile/980816-1.c
+++ /dev/null
@@ -1,51 +0,0 @@
-typedef unsigned int size_t;
-typedef void *XtPointer;
-
-typedef struct _WidgetRec *Widget;
-typedef struct _WidgetClassRec *WidgetClass;
-
-extern WidgetClass commandWidgetClass;
-
-typedef void (*XtCallbackProc)(
- Widget ,
- XtPointer ,
- XtPointer
-);
-
-extern const char XtStrings[];
-
-
-typedef struct
-{
- char *Name,
- *Label;
- XtCallbackProc Callback;
- XtPointer ClientData;
- Widget W;
-} DialogButtonType, *DialogButtonTypePtr;
-
-
-Widget AddButtons(Widget Parent, Widget Top,
- DialogButtonTypePtr Buttons, size_t Count)
-{
- int i;
-
- for (i = 0; i < Count; i++)
- {
- if (!Buttons[i].Label)
- continue;
- Buttons[i].W = XtVaCreateManagedWidget(Buttons[i].Name,
- commandWidgetClass,
- Parent,
- ((char*)&XtStrings[429]) , Buttons[i].Label,
- "fromHoriz" , i ? Buttons[i-1].W : ((void *)0) ,
- "fromVert" , Top,
- "resizable" , 1 ,
- ((void *)0) );
-
- XtAddCallback(((char*)&XtStrings[136]),
- Buttons[i].Callback, Buttons[i].ClientData);
- }
- return(Buttons[Count-1].W);
-}
-