aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/PR2728.c
blob: e8c2e268b5d72202414d5eec444b622701979b83 (plain)
1
2
3
4
5
6
7
8
9
// RUN: clang-cc -verify -fsyntax-only -std=c90 %s
// RUN: clang-cc -verify -fsyntax-only -std=c99 %s

struct s
{
  int a;
};

int a[__builtin_offsetof(struct s, a) == 0];