[cfe-commits] r99448 - /cfe/trunk/test/CodeGenCXX/references.cpp
Douglas Gregor
dgregor at apple.com
Wed Mar 24 16:19:28 PDT 2010
Author: dgregor
Date: Wed Mar 24 18:19:27 2010
New Revision: 99448
URL: http://llvm.org/viewvc/llvm-project?rev=99448&view=rev
Log:
Check for ret, so that we know we hit the end of the function
Modified:
cfe/trunk/test/CodeGenCXX/references.cpp
Modified: cfe/trunk/test/CodeGenCXX/references.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/references.cpp?rev=99448&r1=99447&r2=99448&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/references.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/references.cpp Wed Mar 24 18:19:27 2010
@@ -153,4 +153,5 @@
// CHECK: alloca
// CHECK: store
// CHECK: load
+// CHECK: ret
const int &f2() { return 0; }
More information about the cfe-commits
mailing list