summaryrefslogtreecommitdiff
path: root/tests/headers/anon_union_1_0.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/anon_union_1_0.hpp')
-rw-r--r--tests/headers/anon_union_1_0.hpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/headers/anon_union_1_0.hpp b/tests/headers/anon_union_1_0.hpp
deleted file mode 100644
index 83f408c1..00000000
--- a/tests/headers/anon_union_1_0.hpp
+++ /dev/null
@@ -1,22 +0,0 @@
-// bindgen-flags: --rust-target 1.0
-
-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> {
-};