diff options
Diffstat (limited to 'clang/test/Sema/warn-documentation.m')
| -rw-r--r-- | clang/test/Sema/warn-documentation.m | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/test/Sema/warn-documentation.m b/clang/test/Sema/warn-documentation.m index 3c1a369c4b1..18ab5bd9e09 100644 --- a/clang/test/Sema/warn-documentation.m +++ b/clang/test/Sema/warn-documentation.m @@ -299,3 +299,14 @@ void (^_Nullable blockPointerVariableThatLeadsNowhere)(); @property void (^blockReturnsNothing)(); @end + +/*! + * Block typedef with variadic params. + * + * @param a + * works + * + * @param ... + * now should work too. + */ +typedef void (^VariadicBlockType)(int a, ...); |

