xref: /third_party/libabigail/tests/data/test-read-common/test-PR26568-2.c (revision e01aa904)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/libabigail/tests/data/test-read-common/
1e01aa904Sopenharmony_ci/* gcc -std=c89 -gctf -g -mtune=generic -march=x86-64 -c \
2e01aa904Sopenharmony_ci *     -o test-PR26568-2.o test-PR26568-2.c */
3e01aa904Sopenharmony_ci
4e01aa904Sopenharmony_ciunion A {
5e01aa904Sopenharmony_ci  struct {
6e01aa904Sopenharmony_ci    int x;
7e01aa904Sopenharmony_ci  };
8e01aa904Sopenharmony_ci  struct {
9e01aa904Sopenharmony_ci    long y;
10e01aa904Sopenharmony_ci  };
11e01aa904Sopenharmony_ci};
12e01aa904Sopenharmony_ci
13e01aa904Sopenharmony_civoid fun(union A * a) {
14e01aa904Sopenharmony_ci  a->x = 0;
15e01aa904Sopenharmony_ci  a->y = 0x0102030405060708ULL;
16e01aa904Sopenharmony_ci}
17

Indexes created Thu Nov 07 10:32:03 CST 2024