1 /* 2 * Compile this test with: 3 * gcc -c -g test-headers-dir-v0.c 4 * 5 * This test exhibits changes that are redundant in a weird way. 6 * The redundant path through the diff graph involves typedefs, 7 * function types and function parameter diff nodes. 8 * 9 */ 10 #include "headers-b/header-b-v0.h" 11 #include "headers-a/header-a-v0.h" 12 13 struct opaque_struct 14 { 15 int m0; 16 int m1; 17 struct public_struct_type *m2; 18 }; 19 20 struct second_opaque_struct 21 { 22 int m0; 23 }; 24 foo(public_struct_pointer_type p)25void foo(public_struct_pointer_type p __attribute__((unused))) 26 { 27 } 28 29 void bar(second_public_struct_pointer_type p1,second_opaque_struct_pointer_type p2)30bar(second_public_struct_pointer_type p1 __attribute__((unused)), 31 second_opaque_struct_pointer_type p2 __attribute__((unused))) 32 { 33 } 34