1 ; Test that functions with "section" attribute are accepted, and jumptables are
4 ; RUN: opt -S -lowertypetests < %s | FileCheck %s
6 target triple = "x86_64-unknown-linux-gnu"
8 ; CHECK: @f = alias void (), void ()* @[[JT:.*]]
9 ; CHECK: define internal void @f.cfi() section "xxx"
11 define void @f() section "xxx" !type !0 {
18 %0 = call i1 @llvm.type.test(i8* bitcast (void ()* @f to i8*), metadata !"_ZTSFvE")
22 ; CHECK: define private void @[[JT]]() #{{.*}} section ".text.cfi" align {{.*}} {
24 declare i1 @llvm.type.test(i8*, metadata) nounwind readnone
26 !0 = !{i64 0, !"_ZTSFvE"}