Test case for PR5134.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91965 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/friend.cpp b/test/SemaCXX/friend.cpp
index 2cf4cf9..ffad0e2 100644
--- a/test/SemaCXX/friend.cpp
+++ b/test/SemaCXX/friend.cpp
@@ -40,3 +40,10 @@
     friend void ::test2::foo::Func(int x);
   };
 }
+
+// PR5134
+namespace test3 {
+  class Foo {
+    friend const int getInt(int inInt = 0);
+  };
+}