summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests/sret.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-04-28 00:02:06 +0000
committerDevang Patel <dpatel@apple.com>2011-04-28 00:02:06 +0000
commit443e46f16d0ee9098e3c6467347cd8067dfecf26 (patch)
treea90837c1a6d6b0ef9c606f9ebb385ee148b238c5 /debuginfo-tests/sret.cpp
parent8bd572fc58d3e7916bcdc2407c8e6f66cca07e8e (diff)
downloadbcm5719-llvm-443e46f16d0ee9098e3c6467347cd8067dfecf26.tar.gz
bcm5719-llvm-443e46f16d0ee9098e3c6467347cd8067dfecf26.zip
Silence return-type warning.
llvm-svn: 130349
Diffstat (limited to 'debuginfo-tests/sret.cpp')
-rw-r--r--debuginfo-tests/sret.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/debuginfo-tests/sret.cpp b/debuginfo-tests/sret.cpp
index 7fd23852712..90145f8c194 100644
--- a/debuginfo-tests/sret.cpp
+++ b/debuginfo-tests/sret.cpp
@@ -2,7 +2,7 @@
// RUN: %clangxx %t.o -o %t.out
// RUN: %test_debuginfo %s %t.out
// Radar 8775834
-// DEBUGGER: break 60
+// DEBUGGER: break 61
// DEBUGGER: r
// DEBUGGER: p a
// CHECK: $1 = (A &)
@@ -38,6 +38,7 @@ const A &
A::operator =(const A& rhs)
{
m_int = rhs.m_int;
+ return *this;
}
int A::get_int()
OpenPOWER on IntegriCloud