• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; REQUIRES: x86
2; RUN: llvm-as %s -o %t.o
3; RUN: llvm-as %p/Inputs/internalize-undef.ll -o %t2.o
4; RUN: ld.lld %t.o %t2.o -o %t -save-temps
5; RUN: llvm-dis < %t.0.2.internalize.bc | FileCheck %s
6
7target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
8target triple = "x86_64-unknown-linux-gnu"
9
10declare void @f()
11define void @_start() {
12  call void @f()
13  ret void
14}
15
16; CHECK: define internal void @f()
17