diff --git a/llvm/test/MC/X86/error-reloc.s b/llvm/test/MC/X86/error-reloc.s index 8dd93de4e76b..647f764ff0d6 100644 --- a/llvm/test/MC/X86/error-reloc.s +++ b/llvm/test/MC/X86/error-reloc.s @@ -1,4 +1,4 @@ -// RUN: not llvm-mc %s -o %t.o -filetype=obj 2>&1 | FileCheck %s +// RUN: not llvm-mc -triple x86_64-pc-linux %s -o %t.o -filetype=obj 2>&1 | FileCheck %s .quad foo@gotpcrel // CHECK: 32 bit reloc applied to a field with a different size