]> granicus.if.org Git - clang/commitdiff
Merging r195897:
authorBill Wendling <isanbard@gmail.com>
Sun, 1 Dec 2013 02:09:57 +0000 (02:09 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 1 Dec 2013 02:09:57 +0000 (02:09 +0000)
------------------------------------------------------------------------
r195897 | rikka | 2013-11-27 16:13:38 -0800 (Wed, 27 Nov 2013) | 1 line

Add a return statement to the func with an int return type.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_34@195989 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaTemplate/instantiate-local-class.cpp

index bdc5ea0d4a8648698accdce9fd8deffca5c2a0bc..2bf24c2188e6c4c355b44d9482eb80ee4351b744 100644 (file)
@@ -178,5 +178,6 @@ namespace PR14373 {
   };
   int call() {
     exec_func(Type());
+    return 0;
   }
 }