Sign in
llvm
/
llvm-project
/
clang
/
f24f1aa67f8de1cb864ef833f358840411ebaf5b
/
.
/
test
/
Sema
/
PR2728.c
blob: 0c994057a1e401d8a5aa51a9c1022807b5919249 [
file
] [
log
] [
blame
]
// 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
];