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