summaryrefslogtreecommitdiff
path: root/tests/headers/attribute_warn_unused_result_no_attribute_detection.hpp
blob: 21550307119bc62bead378597291c3ebdb4b38e6 (plain)
1
2
3
4
5
6
7
8
9
10
// bindgen-flags: --rust-target 1.27

class Foo {
public:
    __attribute__((warn_unused_result))
    int foo(int);
};

__attribute__((warn_unused_result))
int foo(int);