1 ; RUN: opt -S -lowertypetests -lowertypetests-summary-action=export -lowertypetests-read-summary=%S/Inputs/exported-funcs.yaml -lowertypetests-write-summary=%t < %s | FileCheck %s
3 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
4 target triple = "x86_64-unknown-linux-gnu"
6 declare !type !2 extern_weak void @external_addrtaken(i8)
8 !cfi.functions = !{!0, !1}
10 !0 = !{!"external_addrtaken", i8 2, !2}
11 !1 = !{!"external_addrtaken", i8 0, !2}
12 !2 = !{i64 0, !"typeid1"}
14 ; CHECK-DAG: @external_addrtaken = alias void (i8), bitcast