Sign in
cobalt
/
cobalt
/
refs/heads/22.lts.stable
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Sema
/
PR2728.c
blob: 0c994057a1e401d8a5aa51a9c1022807b5919249 [
file
] [
log
] [
blame
] [
edit
]
// RUN: %clang_cc1 -verify -fsyntax-only -std=c90 %s
// RUN: %clang_cc1 -verify -fsyntax-only -std=c99 %s
// expected-no-diagnostics
struct
s
{
int
a
;
};
int
a
[
__builtin_offsetof
(
struct
s
,
a
)
==
0
];