summaryrefslogtreecommitdiff
path: root/src/map/magic-stmt.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/magic-stmt.py')
-rw-r--r--src/map/magic-stmt.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/magic-stmt.py b/src/map/magic-stmt.py
index 6e34bb0..70ce3ca 100644
--- a/src/map/magic-stmt.py
+++ b/src/map/magic-stmt.py
@@ -25,6 +25,10 @@ class op_t(object):
yield '->signature', value['signature']
yield '->op', value['op']
+ test_extra = '''
+ using tmwa::operator "" _s;
+ '''
+
tests = [
('static_cast<tmwa::magic::op_t *>(nullptr)', '(op_t *) nullptr'),
('new tmwa::magic::op_t{"name"_s, "sig"_s, nullptr}', '(op_t *) = {->name = "name", ->signature = "sig", ->op = 0x0}'),