diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2011-05-02 19:39:53 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2011-05-02 19:39:53 +0000 |
commit | 01af97d3b23bded2b2b21af19bbc6e4cce49e5b3 (patch) | |
tree | 64a10f4c4154739d4a8191d7e1b52ce497f4ebd6 /test/SemaCXX/warn-missing-prototypes.cpp | |
parent | c3b054d250cdca485c71845089c316e10610ebad (diff) |
Diffstat (limited to 'test/SemaCXX/warn-missing-prototypes.cpp')
-rw-r--r-- | test/SemaCXX/warn-missing-prototypes.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/SemaCXX/warn-missing-prototypes.cpp b/test/SemaCXX/warn-missing-prototypes.cpp index b6ebe820f39cd..f7e8db38a4f69 100644 --- a/test/SemaCXX/warn-missing-prototypes.cpp +++ b/test/SemaCXX/warn-missing-prototypes.cpp @@ -24,3 +24,9 @@ template<typename> void h() { } // Don't warn when instantiating function templates. template void h<int>(); + +// PR9519: don't warn about friend functions. +class I { + friend void I_friend() {} +}; + |