summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-05-01 18:39:05 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-11-07 16:41:37 +0000
commit3ab8959669be3bd7232a8aa1859eb651fcdf05b3 (patch)
treea304c5c514914c99bc86ac167cb72a3ff15bed98 /test
parentCommon implementation for shared and unique pointers (diff)
downloadilt-3ab8959669be3bd7232a8aa1859eb651fcdf05b3.tar.bz2
ilt-3ab8959669be3bd7232a8aa1859eb651fcdf05b3.tar.xz
ilt-3ab8959669be3bd7232a8aa1859eb651fcdf05b3.zip
Error on bad cast of named type
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/json/bad/wrong_type.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/fixtures/json/bad/wrong_type.json b/test/fixtures/json/bad/wrong_type.json
new file mode 100644
index 0000000..777d791
--- /dev/null
+++ b/test/fixtures/json/bad/wrong_type.json
@@ -0,0 +1,5 @@
+{
+ "ptr": {
+ "@typeid": "SubObject"
+ }
+}