# XFAIL: win32
# REQUIRES: x86

# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: not ld.lld %t %t -o %t2 2>&1 | FileCheck -check-prefix=DEMANGLE %s

# RUN: not ld.lld %t %t -o %t2 --no-demangle 2>&1 | \
# RUN:   FileCheck -check-prefix=NO_DEMANGLE %s

# DEMANGLE:    duplicate symbol: {{mul\(double, double\)|_Z3muldd}} in
# NO_DEMANGLE: duplicate symbol: _Z3muldd in

.globl _Z3muldd
_Z3muldd:
  mov $60, %rax
  mov $42, %rdi
  syscall

# REQUIRES: x86

# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: not ld.lld %t %t -o %t2 2>&1 | FileCheck -check-prefix=DEMANGLE %s

# RUN: not ld.lld %t %t -o %t2 --no-demangle 2>&1 | \
# RUN:   FileCheck -check-prefix=NO_DEMANGLE %s

# DEMANGLE:    duplicate symbol: {{mul\(double, double\)|_Z3muldd}} in
# NO_DEMANGLE: duplicate symbol: _Z3muldd in

.globl _Z3muldd
_Z3muldd:
  mov $60, %rax
  mov $42, %rdi
  syscall

Remove XFAIL:win32 from a test which does not fail on win32.
Remove XFAIL:win32 from a test which does not fail on win32.

This test uses a regexp so that it matches both Unix output and
Windows output.

git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@257817 91177308-0d34-0410-b5e6-96231b3b80d8
