From: John McCall Date: Wed, 23 Dec 2009 01:09:14 +0000 (+0000) Subject: Test case for PR5134. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc12044215a6d0d77b5c6f09df34e8506a8d80e1;p=clang 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 2cf4cf9eef..ffad0e2b44 100644 --- a/test/SemaCXX/friend.cpp +++ b/test/SemaCXX/friend.cpp @@ -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); + }; +}