Sign in
llvm
/
clang
/
14db9fed7ce9427cefa9e066f41dd23b4073e464
/
.
/
test
/
Sema
/
PR2727.c
blob: 52d8392ee9e57d756c1aac22efaffd1b26cb78ae [
file
] [
log
] [
blame
]
// RUN: clang-cc -verify -fsyntax-only -std=c90 %s &&
// RUN: clang-cc -verify -fsyntax-only -std=c99 %s
int
f
(
int
x
)
{
// sizeof applied to a type should not delete the type.
return
sizeof
(
int
[
x
]);
}