diff options
Diffstat (limited to 'clang/test/Sema/warn-documentation.m')
| -rw-r--r-- | clang/test/Sema/warn-documentation.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Sema/warn-documentation.m b/clang/test/Sema/warn-documentation.m index 8a894dca700..cfa84870e82 100644 --- a/clang/test/Sema/warn-documentation.m +++ b/clang/test/Sema/warn-documentation.m @@ -97,3 +97,11 @@ int b; /// \returns aaa. typedef int (^test_param1)(int aaa, int ccc); +// rdar://13094352 +// expected-warning@+2 {{'@method' command used in a comment that is attached to a non-method declaration immediately following it}} +@interface I +/*! @method Base64EncodeEx +*/ +typedef id ID; +- (unsigned) Base64EncodeEx : (ID)Arg; +@end |

