aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/mips/sanity.s
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/sim/mips/sanity.s')
-rw-r--r--sim/testsuite/sim/mips/sanity.s20
1 files changed, 20 insertions, 0 deletions
diff --git a/sim/testsuite/sim/mips/sanity.s b/sim/testsuite/sim/mips/sanity.s
new file mode 100644
index 0000000..74551ed
--- /dev/null
+++ b/sim/testsuite/sim/mips/sanity.s
@@ -0,0 +1,20 @@
+# mips test sanity, expected to pass.
+# mach: all
+# as: -mabi=eabi
+# ld: -N -Ttext=0x80010000
+# output: *\\npass\\n
+
+ .include "testutils.inc"
+
+ setup
+
+ .set noreorder
+
+ .ent DIAG
+DIAG:
+
+ writemsg "Sanity is good!"
+
+ pass
+
+ .end DIAG