diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-24 23:19:27 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-24 23:19:27 +0000 |
commit | f748845b19813d81189283f76778cfc870f6cfd7 (patch) | |
tree | daa033817aff6acaa24e5f5ebaf23e7622195220 /test/CodeGenCXX/references.cpp | |
parent | 33fd1fc1814a5573c972840d49317989e20deace (diff) |
Check for ret, so that we know we hit the end of the function
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99448 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/references.cpp')
-rw-r--r-- | test/CodeGenCXX/references.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGenCXX/references.cpp b/test/CodeGenCXX/references.cpp index a15d4069c2..5a5947dd81 100644 --- a/test/CodeGenCXX/references.cpp +++ b/test/CodeGenCXX/references.cpp @@ -153,4 +153,5 @@ void f0(s1 a) { s1 b = a; } // CHECK: alloca // CHECK: store // CHECK: load +// CHECK: ret const int &f2() { return 0; } |