Home | History | Annotate | Download | only in Sema
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // expected-no-diagnostics
      3 
      4 int printf(const char *, ...);
      5 typedef int *pint;
      6 int main() {
      7    int a[5] = {0};
      8    pint p = a;
      9    p++;
     10    printf("%d\n", *p);
     11 }
     12