summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/operators.s
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/ELF/linkerscript/operators.s')
-rw-r--r--lld/test/ELF/linkerscript/operators.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/test/ELF/linkerscript/operators.s b/lld/test/ELF/linkerscript/operators.s
index 494fc08c0f9..b9be4b68e21 100644
--- a/lld/test/ELF/linkerscript/operators.s
+++ b/lld/test/ELF/linkerscript/operators.s
@@ -5,6 +5,7 @@
# RUN: plus = 1 + 2 + 3; \
# RUN: minus = 5 - 1; \
# RUN: div = 6 / 2; \
+# RUN: mod = 20 % 7; \
# RUN: mul = 1 + 2 * 3; \
# RUN: nospace = 1+2*6/3; \
# RUN: braces = 1 + (2 + 3) * 4; \
@@ -37,6 +38,7 @@
# CHECK: 00000000000006 *ABS* 00000000 plus
# CHECK: 00000000000004 *ABS* 00000000 minus
# CHECK: 00000000000003 *ABS* 00000000 div
+# CHECK: 00000000000006 *ABS* 00000000 mod
# CHECK: 00000000000007 *ABS* 00000000 mul
# CHECK: 00000000000005 *ABS* 00000000 nospace
# CHECK: 00000000000015 *ABS* 00000000 braces
OpenPOWER on IntegriCloud