Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -verify -fsyntax-only -std=c90 %s && |
2 | // RUN: clang-cc -verify -fsyntax-only -std=c99 %s | ||||
Daniel Dunbar | aa1f9f1 | 2008-08-28 18:42:20 +0000 | [diff] [blame] | 3 | |
4 | struct s | ||||
5 | { | ||||
6 | int a; | ||||
7 | }; | ||||
8 | |||||
9 | int a[__builtin_offsetof(struct s, a) == 0]; |