1 ; Bitcode compatibility test for dso_local flag in thin-lto summaries.
2 ; Checks that older bitcode summaries without the dso_local op are still
3 ; properly parsed and don't set GlobalValues as dso_local.
5 ; RUN: llvm-dis < %s.bc | FileCheck %s
6 ; RUN: llvm-bcanalyzer -dump %s.bc | FileCheck %s --check-prefix=BCAN
9 ;CHECK-DAG:define void @foo()
14 ;CHECK-DAG: @bar = global i32 0
16 @baz = alias i32, i32* @bar
17 ;CHECK-DAG: @baz = alias i32, i32* @bar
19 ;BCAN: <SOURCE_FILENAME
20 ;BCAN-NEXT: <GLOBALVAR {{.*}} op7=0/>
21 ;BCAN-NEXT: <FUNCTION {{.*}} op16=0/>
22 ;BCAN-NEXT: <ALIAS {{.*}} op9=0/>