summaryrefslogtreecommitdiffstats
path: root/test/Sema/check-increment.c
blob: 9809544854d860b6d9b4c98d35aac453d3f41911 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: clang-cc -fsyntax-only -verify %s

#include <stdio.h>
typedef int *pint;
int main() {
   int a[5] = {0};
   pint p = a;
   p++;
   printf("%d\n", *p);
}
OpenPOWER on IntegriCloud