blob: 5c6fb908be908850666e564bda789ac45f034d96 [file] [log] [blame]
Duncan P. N. Exon Smith814b8e92015-08-28 20:26:49 +00001; RUN: llvm-dis < %s.bc | FileCheck %s
2; Check that subprogram definitions are correctly upgraded to 'distinct'.
3; Bitcode compiled from r245235 of the 3.7 release branch.
4
5!named = !{!0}
6!0 = distinct !DICompileUnit(language: 12, file: !1, subprograms: !2)
7!1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
8!2 = !{!3}
9
10; CHECK: = distinct !DISubprogram({{.*}}, isDefinition: true
11!3 = !DISubprogram(name: "foo", isDefinition: true)