aboutsummaryrefslogtreecommitdiffstats
path: root/test/warnstack.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/warnstack.asm')
-rw-r--r--test/warnstack.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/warnstack.asm b/test/warnstack.asm
new file mode 100644
index 00000000..6e762904
--- /dev/null
+++ b/test/warnstack.asm
@@ -0,0 +1,10 @@
+%warning "Good warning"
+ [warning push]
+ [warning -user]
+%warning "Bad warning"
+ [warning pop]
+%warning "Good warning"
+ [warning -user]
+%warning "Bad warning"
+ [warning pop] ; should warn but reset all
+%warning "Good warning"