OSDN Git Service

* class.c (build_base_path): Use build_address directly.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / offsetof1.C
1 // { dg-do compile }
2
3 // Copyright (C) 2002 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 14 Aug 2002 <nathan@codesourcery.com>
5
6 // PR c++ 7598, offsetof broke
7
8 struct F
9 {
10   char i;
11   char j;
12 };
13
14 static int ary[__builtin_offsetof(F, j)];