OSDN Git Service

PR c++/26291
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / parse / offsetof2.C
1 #include <cstddef>
2
3 struct choke_me
4 {
5     int size;
6     char storage[1];
7 };
8
9 struct offset_is_broken
10 {
11     static const int offset = offsetof(choke_me, storage);
12 };