aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--travis/test/xpaste.asm6
-rw-r--r--travis/test/xpaste.bin.t1
-rw-r--r--travis/test/xpaste.json11
3 files changed, 18 insertions, 0 deletions
diff --git a/travis/test/xpaste.asm b/travis/test/xpaste.asm
new file mode 100644
index 00000000..cb994588
--- /dev/null
+++ b/travis/test/xpaste.asm
@@ -0,0 +1,6 @@
+%iassign OWORD_size 16 ; octo-word
+%idefine sizeof(_x_) _x_%+_size
+
+%define ptr eax+sizeof(oword)
+
+movdqa [ptr], xmm1
diff --git a/travis/test/xpaste.bin.t b/travis/test/xpaste.bin.t
new file mode 100644
index 00000000..59bb2f04
--- /dev/null
+++ b/travis/test/xpaste.bin.t
@@ -0,0 +1 @@
+gfH \ No newline at end of file
diff --git a/travis/test/xpaste.json b/travis/test/xpaste.json
new file mode 100644
index 00000000..31721c15
--- /dev/null
+++ b/travis/test/xpaste.json
@@ -0,0 +1,11 @@
+[
+ {
+ "description": "Test preproc xdefine",
+ "id": "xpaste",
+ "source": "xpaste.asm",
+ "option": "-f bin -Ox",
+ "target": [
+ { "output": "xpaste.bin" }
+ ]
+ }
+]