Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr44971.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-options "-O2 -fcompare-debug -w" } */ | |
3 /* { dg-xfail-if "" { powerpc-ibm-aix* } } */ | |
4 | |
5 typedef struct | |
6 { | |
7 int default_screen; | |
8 } *_XPrivint; | |
9 typedef int FcBool; | |
10 typedef struct | |
11 { | |
12 struct _XftintInfo *next; | |
13 } XftintInfo; | |
14 int _XftintInfo; | |
15 | |
16 void _XftintInfoGet (int * dpy, FcBool createIfNecessary) | |
17 { | |
18 int event_base; | |
19 &event_base | |
20 && dpy[createIfNecessary] != 0; | |
21 } | |
22 | |
23 void _XftCloseint (int dpy, XftintInfo * info,XftintInfo * *prev) | |
24 { | |
25 _XftintInfoGet (dpy, 0); | |
26 for (prev = &_XftintInfo; info = *prev; prev = &(*prev)->next) | |
27 ; | |
28 } |