aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/lto/inline-asm.ll
blob: b6af6a5a5cbb83ae4394dacca4c30abb157a6218 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
; REQUIRES: x86
; RUN: llvm-as %s -o %t.o
; RUN: ld.lld -m elf_x86_64 %t.o -o %t.so -shared

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

define void @foo() {
  call void asm "nop", ""()
  ret void
}