YouCompleteMe/cpp/llvm/tools/clang/test/Sema/PR2728.c

10 lines
176 B
C
Raw Normal View History

// RUN: %clang_cc1 -verify -fsyntax-only -std=c90 %s
// RUN: %clang_cc1 -verify -fsyntax-only -std=c99 %s
struct s
{
int a;
};
int a[__builtin_offsetof(struct s, a) == 0];