1; RUN: llvm-dis < %s.bc | FileCheck %s 2 3; Check that metadata encoded in 3.5 is correctly understood going forward. 4; 5; Bitcode assembled by llvm-as v3.5.0. 6 7define void @foo(i32 %v) { 8; CHECK: entry: 9entry: 10; CHECK-NEXT: call void @llvm.bar(metadata !0) 11 call void @llvm.bar(metadata !0) 12 13; CHECK-NEXT: ret void, !baz !1 14 ret void, !baz !1 15} 16 17declare void @llvm.bar(metadata) 18 19@global = global i32 0 20 21; CHECK: !0 = !{!1, !2, i32* @global, null} 22; CHECK: !1 = !{!2, null} 23; CHECK: !2 = !{} 24!0 = metadata !{metadata !1, metadata !2, i32* @global, null} 25!1 = metadata !{metadata !2, null} 26!2 = metadata !{} 27