xref: /llvm-project/lld/test/ELF/lto/inline-asm.ll (revision 7b1d793713cf9ed9ab719f33b332f9c66a1fc5cc)
1; REQUIRES: x86
2; RUN: llvm-as %s -o %t.o
3; RUN: ld.lld %t.o -o %t.so -shared
4
5target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
6target triple = "x86_64-unknown-linux-gnu"
7
8define void @foo() {
9  call void asm "nop", ""()
10  ret void
11}
12