Home | History | Annotate | Download | only in Sema
      1 // RUN: %clang_cc1 -verify -fsyntax-only -std=c90 %s
      2 // RUN: %clang_cc1 -verify -fsyntax-only -std=c99 %s
      3 
      4 int f (int x)
      5 {
      6   // sizeof applied to a type should not delete the type.
      7   return sizeof (int[x]);
      8 }
      9