summaryrefslogtreecommitdiff
path: root/tests/headers/anon_union.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/anon_union.hpp')
-rw-r--r--tests/headers/anon_union.hpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/headers/anon_union.hpp b/tests/headers/anon_union.hpp
deleted file mode 100644
index e4be25bc..00000000
--- a/tests/headers/anon_union.hpp
+++ /dev/null
@@ -1,21 +0,0 @@
-// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq --rustified-enum ".*"
-template<typename T>
-struct TErrorResult {
- enum UnionState {
- HasMessage,
- HasException,
- };
- int mResult;
- struct Message;
- struct DOMExceptionInfo;
- union {
- Message* mMessage;
- DOMExceptionInfo* mDOMExceptionInfo;
- };
-
- bool mMightHaveUnreported;
- UnionState mUnionState;
-};
-
-struct ErrorResult : public TErrorResult<int> {
-};