Sign in
llvm
/
clang
/
3ad9e4889adcb044907bc3e707d89a7ac1b3ee30
/
.
/
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
]);
}