Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
b18e93c283e46a3564bc94a5227e252a796f0672
/
.
/
test
/
Sema
/
expr-comma.c
blob: 7a601e9b3d678067775bdb71845074cd7530d8fc [
file
] [
log
] [
blame
]
// RUN: clang %s -fsyntax-only -verify
// rdar://6095180
#include
<assert.h>
struct
s
{
char
c
[
17
];
};
extern
struct
s foo
(
void
);
// sizeof 'c' should be 17, not sizeof(char*).
int
X
[
sizeof
(
0
,
(
foo
().
c
))
==
17
?
1
:
-
1
];