DI: Require subprogram definitions to be distinct
[oota-llvm.git] / test / DebugInfo / location-verifier.ll
index ffb58b6f4fb88e81f5407071e9b8d65da3bd9a03..a767ab903c347630b2b8bd310936d729d6a581ab 100644 (file)
@@ -19,7 +19,7 @@ attributes #0 = { nounwind ssp uwtable }
 !1 = !DIFile(filename: "test.c", directory: "")
 !2 = !{}
 !3 = !{!4}
-!4 = !DISubprogram(name: "foo", line: 1, isLocal: false, isDefinition: true, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, function: i32 ()* @foo, variables: !2)
+!4 = distinct !DISubprogram(name: "foo", line: 1, isLocal: false, isDefinition: true, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, function: i32 ()* @foo, variables: !2)
 !5 = !DIFile(filename: "test.c", directory: "")
 !6 = !DISubroutineType(types: !7)
 !7 = !{!8}