aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20021110.c
blob: dd2aa7e09dd141c364b76462a32e483efb5f022d (plain)
1
2
3
4
5
6
7
8
9
10
/* PR c/8439 */
/* Verify that GCC properly handles null increments. */

struct empty {
};

void foo(struct empty *p)
{
   p++;
}