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