Sign in
llvm
/
llvm-project
/
8dec0b23da116e1cf0cd49c955ff1fadf52d5096
/
.
/
clang
/
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
];