1 2 3 4 5 6 7 8 9 10 11 12 13 14
// bindgen-flags: --merge-extern-blocks --enable-cxx-namespaces -- --target=x86_64-unknown-linux int foo(); typedef struct Point { int x; } Point; int bar(); namespace ns { int foo(); typedef struct Point { int x; } Point; int bar(); }