commit | bc12044215a6d0d77b5c6f09df34e8506a8d80e1 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Wed Dec 23 01:09:14 2009 +0000 |
committer | John McCall <rjmccall@apple.com> | Wed Dec 23 01:09:14 2009 +0000 |
tree | 4b517a164915afa8a821aed5fdd0336e2951c8be | |
parent | 73ba9a6337c7879021976949a2dad9476a4f0abb [diff] [blame] |
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); + }; +}