From 0fabf8ecc641e1fd4e589dc14c99e4eca1ba4f2c Mon Sep 17 00:00:00 2001
From: Kaelyn Uhrain <rikka@google.com>
Date: Thu, 28 Nov 2013 00:13:38 +0000
Subject: [PATCH] Add a return statement to the func with an int return type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195897 91177308-0d34-0410-b5e6-96231b3b80d8
---
 test/SemaTemplate/instantiate-local-class.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/SemaTemplate/instantiate-local-class.cpp b/test/SemaTemplate/instantiate-local-class.cpp
index bdc5ea0d4a8..2bf24c2188e 100644
--- a/test/SemaTemplate/instantiate-local-class.cpp
+++ b/test/SemaTemplate/instantiate-local-class.cpp
@@ -178,5 +178,6 @@ namespace PR14373 {
   };
   int call() {
     exec_func(Type());
+    return 0;
   }
 }
-- 
GitLab