]> granicus.if.org Git - clang/commitdiff
Test case for PR5134.
authorJohn McCall <rjmccall@apple.com>
Wed, 23 Dec 2009 01:09:14 +0000 (01:09 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 23 Dec 2009 01:09:14 +0000 (01:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91965 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/friend.cpp

index 2cf4cf9eef039715f149f30d14743a359811f3c0..ffad0e2b44ef42f57ba1efee6cb4e84f09e5346f 100644 (file)
@@ -40,3 +40,10 @@ namespace test2 {
     friend void ::test2::foo::Func(int x);
   };
 }
+
+// PR5134
+namespace test3 {
+  class Foo {
+    friend const int getInt(int inInt = 0);
+  };
+}