2009-03-24 10:24:46 +08:00
|
|
|
// RUN: clang-cc -verify -fsyntax-only -std=c90 %s &&
|
|
|
|
// RUN: clang-cc -verify -fsyntax-only -std=c99 %s
|
2008-08-29 02:42:20 +08:00
|
|
|
|
2008-08-29 02:02:04 +08:00
|
|
|
int f (int x)
|
|
|
|
{
|
|
|
|
// sizeof applied to a type should not delete the type.
|
|
|
|
return sizeof (int[x]);
|
|
|
|
}
|