[cfe-commits] r91965 - /cfe/trunk/test/SemaCXX/friend.cpp
John McCall
rjmccall at apple.com
Tue Dec 22 17:09:15 PST 2009
Author: rjmccall
Date: Tue Dec 22 19:09:14 2009
New Revision: 91965
URL: http://llvm.org/viewvc/llvm-project?rev=91965&view=rev
Log:
Test case for PR5134.
Modified:
cfe/trunk/test/SemaCXX/friend.cpp
Modified: cfe/trunk/test/SemaCXX/friend.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/friend.cpp?rev=91965&r1=91964&r2=91965&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/friend.cpp (original)
+++ cfe/trunk/test/SemaCXX/friend.cpp Tue Dec 22 19:09:14 2009
@@ -40,3 +40,10 @@
friend void ::test2::foo::Func(int x);
};
}
+
+// PR5134
+namespace test3 {
+ class Foo {
+ friend const int getInt(int inInt = 0);
+ };
+}
More information about the cfe-commits
mailing list