blob: 72eae06bfa1be485e26fb9d8d3a5006039192f0e [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -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}