summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/offsetof5.C
blob: 553e33ded424d5bc3e0e8367b23b90884ebc9f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/16618

#include <stddef.h>

struct test
{
  const char a;
};

int main()
{
  offsetof(test,a);
}