summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/lto/emit-llvm.ll
blob: a2020b46069c01764fcd49dcb1f2ec19a8b5aee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; REQUIRES: x86

; RUN: opt -module-hash -module-summary %s -o %t.o
; RUN: ld.lld --plugin-opt=emit-llvm -o %t.out.o %t.o
; RUN: llvm-dis < %t.out.o -o - | FileCheck %s

; CHECK: define internal void @main()

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

define void @main() {
  ret void
}
OpenPOWER on IntegriCloud