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