summaryrefslogtreecommitdiff
path: root/tests/headers/private_fields.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/private_fields.hpp')
-rw-r--r--tests/headers/private_fields.hpp44
1 files changed, 0 insertions, 44 deletions
diff --git a/tests/headers/private_fields.hpp b/tests/headers/private_fields.hpp
deleted file mode 100644
index 9d55ebca..00000000
--- a/tests/headers/private_fields.hpp
+++ /dev/null
@@ -1,44 +0,0 @@
-// bindgen-flags: --respect-cxx-access-specs
-class PubPriv {
- public:
- int x;
- private:
- int y;
-};
-
-class PrivateBitFields {
- unsigned int a : 4;
- unsigned int b : 4;
-};
-class PublicBitFields {
- public:
- unsigned int a : 4;
- unsigned int b : 4;
-};
-class MixedBitFields {
- unsigned int a : 4;
- public:
- unsigned int d : 4;
-};
-
-class Base {
- public:
- int member;
-};
-
-class InheritsPrivately : Base {};
-class InheritsPublically : public Base {};
-
-class WithAnonStruct {
- struct {
- int a;
- };
- public:
- struct {
- int b;
- };
-};
-
-class WithAnonUnion {
- union {};
-}; \ No newline at end of file