1 // bindgen-flags: --rust-target 1.27 --enable-function-attribute-detection 2 3 class Foo { 4 public: 5 __attribute__((warn_unused_result)) 6 int foo(int); 7 }; 8 9 __attribute__((warn_unused_result)) 10 int foo(int); 11
1 // bindgen-flags: --rust-target 1.27 --enable-function-attribute-detection 2 3 class Foo { 4 public: 5 __attribute__((warn_unused_result)) 6 int foo(int); 7 }; 8 9 __attribute__((warn_unused_result)) 10 int foo(int); 11