You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
669 B
34 lines
669 B
/*
|
|
* Compile this test with:
|
|
* gcc -c -g test-headers-dir-v0.c
|
|
*
|
|
* This test exhibits changes that are redundant in a weird way.
|
|
* The redundant path through the diff graph involves typedefs,
|
|
* function types and function parameter diff nodes.
|
|
*
|
|
*/
|
|
#include "headers-b/header-b-v0.h"
|
|
#include "headers-a/header-a-v0.h"
|
|
|
|
struct opaque_struct
|
|
{
|
|
int m0;
|
|
int m1;
|
|
struct public_struct_type *m2;
|
|
};
|
|
|
|
struct second_opaque_struct
|
|
{
|
|
int m0;
|
|
};
|
|
|
|
void foo(public_struct_pointer_type p __attribute__((unused)))
|
|
{
|
|
}
|
|
|
|
void
|
|
bar(second_public_struct_pointer_type p1 __attribute__((unused)),
|
|
second_opaque_struct_pointer_type p2 __attribute__((unused)))
|
|
{
|
|
}
|