diff options
Diffstat (limited to 'clang/test/SemaCXX/friend.cpp')
| -rw-r--r-- | clang/test/SemaCXX/friend.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/friend.cpp b/clang/test/SemaCXX/friend.cpp index 2cf4cf9eef0..ffad0e2b44e 100644 --- a/clang/test/SemaCXX/friend.cpp +++ b/clang/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); + }; +} |

