Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6
/
.
/
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
]);
}