summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/PR20038.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-08-26 22:50:48 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-08-26 22:50:48 +0000
commitf168176f012f4a5fa9b7664e5967a596b5df54b5 (patch)
treeddfbbda16bbccbb7b900e71659126d812fae5224 /test/CodeGenCXX/PR20038.cpp
parenteb6222eaad7aaec5d9ec0ddd8d1f09e506e689bf (diff)
DI: Update DISubprogram testcases after LLVM r246098
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/PR20038.cpp')
-rw-r--r--test/CodeGenCXX/PR20038.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/PR20038.cpp b/test/CodeGenCXX/PR20038.cpp
index 0a10244db0..2d329f5186 100644
--- a/test/CodeGenCXX/PR20038.cpp
+++ b/test/CodeGenCXX/PR20038.cpp
@@ -6,8 +6,8 @@ struct C {
extern bool b;
// CHECK: call {{.*}}, !dbg [[DTOR_CALL1_LOC:![0-9]*]]
// CHECK: call {{.*}}, !dbg [[DTOR_CALL2_LOC:![0-9]*]]
-// CHECK: [[FUN1:.*]] = !DISubprogram(name: "fun1",{{.*}} isDefinition: true
-// CHECK: [[FUN2:.*]] = !DISubprogram(name: "fun2",{{.*}} isDefinition: true
+// CHECK: [[FUN1:.*]] = distinct !DISubprogram(name: "fun1",{{.*}} isDefinition: true
+// CHECK: [[FUN2:.*]] = distinct !DISubprogram(name: "fun2",{{.*}} isDefinition: true
// CHECK: [[DTOR_CALL1_LOC]] = !DILocation(line: [[@LINE+1]], scope: [[FUN1]])
void fun1() { b && (C(), 1); }
// CHECK: [[DTOR_CALL2_LOC]] = !DILocation(line: [[@LINE+1]], scope: [[FUN2]])