--- /dev/null
+#source: script.s
+#ld: -T region-alias-1.t
+#error: .*:[0-9]+: error: redefinition of memory region alias `MY_ALIAS'
--- /dev/null
+#source: script.s
+#ld: -T region-alias-2.t
+#error: .*:[0-9]+: error: memory region `NIL' for alias `MY_ALIAS' does not exist
--- /dev/null
+#source: script.s
+#ld: -T region-alias-3.t
+#error: .*:[0-9]+: error: alias for default memory region
--- /dev/null
+#source: script.s
+#ld: -T region-alias-4.t
+#error: .*:[0-9]+: error: alias for default memory region