x86: Add tests for -n option of x86 assembler
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / inval-seg.s
index 4cc222145e8a79ae052cb42cab4a682ab5e086d1..b23d87de33e6fc07bf419a48e91f9268f4e04127 100644 (file)
@@ -2,3 +2,9 @@
 # All the following should be illegal
        movl    %ds,(%eax)
        movl    (%eax),%ds
+
+       .intel_syntax noprefix
+       mov     eax, DWORD PTR fs:foobar:16
+       mov     eax, DWORD PTR fs:foobar:barfoo:16
+       mov     eax, DWORD PTR fs:ds:16
+       mov     eax, DWORD PTR fs:ds:cs:16
This page took 0.025582 seconds and 4 git commands to generate.