]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr14092-1.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr14092-1.c
CommitLineData
31cc6081
PB
1/* PR c/14092
2 * Origin: bonzini@gnu.org
3 * rejects-valid
4 */
5/* { dg-do compile } */
6
ed045bef
PB
7/* Define this so that we are more portable. The testcase in the
8 PR failed on 64-bit hosts. */
69bb863a 9__extension__ typedef __INTPTR_TYPE__ intptr_t;
ed045bef 10
31cc6081
PB
11typedef struct _PLCI {
12 unsigned char x;
13 unsigned char buf[1];
14} PLCI;
15
31cc6081
PB
16void nl_ind(PLCI * plci)
17{
ed045bef 18 plci->x = -((intptr_t)(plci->buf)) & 3;
31cc6081
PB
19}
20