blob: 070ea74f680012f5f43797c30c38f3c94cc39d0c [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
Steve Naroffd848a382007-11-11 14:15:57 +00002
Daniel Dunbar23afaad2009-11-17 08:57:36 +00003int printf(const char *, ...);
Steve Naroffd848a382007-11-11 14:15:57 +00004typedef int *pint;
5int main() {
6 int a[5] = {0};
7 pint p = a;
8 p++;
9 printf("%d\n", *p);
10}