summaryrefslogtreecommitdiff
path: root/tests/headers/issue-807-opaque-types-methods-being-generated.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/issue-807-opaque-types-methods-being-generated.hpp')
-rw-r--r--tests/headers/issue-807-opaque-types-methods-being-generated.hpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/headers/issue-807-opaque-types-methods-being-generated.hpp b/tests/headers/issue-807-opaque-types-methods-being-generated.hpp
deleted file mode 100644
index de98b32a..00000000
--- a/tests/headers/issue-807-opaque-types-methods-being-generated.hpp
+++ /dev/null
@@ -1,36 +0,0 @@
-// bindgen-flags: --allowlist-type Allowlisted --opaque-type Opaque --with-derive-hash --with-derive-partialeq --with-derive-eq -- -std=c++11
-
-// These types are not explicitly allowlisted, but are reachable through the
-// opaque type.
-class Pupper {};
-class Doggo {};
-class SuchWow {};
-
-// These types are not allowlisted, and would be reachable through `Opaque` if
-// it were not marked opaque, but since it is, there should be no bindings
-// generated for them.
-class NoBindingsShouldBeGeneratedForMe1 {};
-class NoBindingsShouldBeGeneratedForMe2 {};
-
-// Exercise the different kinds of outgoing edges from an opaque type.
-class Opaque
- // Base member edge.
- : public NoBindingsShouldBeGeneratedForMe1 {
-
-protected:
- // Field edge.
- NoBindingsShouldBeGeneratedForMe2 field;
-
- // Constructor edge.
- Opaque(Pupper pup);
-
- // Inner static variable edge.
- static Doggo MAJESTIC_AF;
-
- // Method edge.
- SuchWow eleven_out_of_ten();
-};
-
-class Allowlisted {
- Opaque some_member;
-};