blob: 1b3096f0b58a010bb11aa4c40d00ddf44351a81e [file] [log] [blame]
Daniel Dunbaraa1f9f12008-08-28 18:42:20 +00001// RUN: clang -verify -fsyntax-only -std=c90 %s &&
2// RUN: clang -verify -fsyntax-only -std=c99 %s
3
Daniel Dunbar90488912008-08-28 18:02:04 +00004int f (int x)
5{
6 // sizeof applied to a type should not delete the type.
7 return sizeof (int[x]);
8}