xref: /third_party/libabigail/tests/data/test-diff-suppr/test4-local-suppr-v1.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/libabigail/tests/data/test-diff-suppr/
1e01aa904Sopenharmony_ci// To compile this, type:
2e01aa904Sopenharmony_ci// gcc -shared -g -Wall -o libtest4-local-suppr-v0.so test4-local-suppr-v0.c
3e01aa904Sopenharmony_ci
4e01aa904Sopenharmony_ci#include "test4-local-suppr-v1.h"
5e01aa904Sopenharmony_ci
6e01aa904Sopenharmony_cistruct private_data
7e01aa904Sopenharmony_ci{
8e01aa904Sopenharmony_ci  int private_data0;
9e01aa904Sopenharmony_ci  char private_data1; // This new member should not be flagged when
10e01aa904Sopenharmony_ci		      // using the suppression list.
11e01aa904Sopenharmony_ci};
12e01aa904Sopenharmony_ci
13e01aa904Sopenharmony_civoid
14e01aa904Sopenharmony_cifoo(struct public_type* p __attribute__((unused)),
15e01aa904Sopenharmony_ci    struct a_not_private_type* t __attribute__((unused)))
16e01aa904Sopenharmony_ci{
17e01aa904Sopenharmony_ci  /* Do something with p */
18e01aa904Sopenharmony_ci}
19

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