• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as -o %T/bcsection.bc %s
2
3; RUN: llvm-mc -I=%T -filetype=obj -triple=x86_64-unknown-unknown -o %T/bcsection.bco %p/Inputs/bcsection.s
4; RUN: llvm-nm -no-llvm-bc %T/bcsection.bco | count 0
5; RUN: %gold -r -o %T/bcsection.o -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so %T/bcsection.bco
6; RUN: llvm-nm -no-llvm-bc %T/bcsection.o | FileCheck %s
7
8target triple = "x86_64-unknown-unknown"
9
10; CHECK: main
11define i32 @main() {
12  ret i32 0
13}
14