diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2009-05-14 20:53:39 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-05-14 20:53:39 +0000 |
| commit | 6607b21156610ed1fdc8e894de448211a4907aa8 (patch) | |
| tree | 64c54b999a15ace29bcad127b7c8caa2edb3719d /clang/test/Sema/sentinel-attribute.c | |
| parent | 9d3febea6a059d5654f1e6db829c0037ad80258c (diff) | |
| download | bcm5719-llvm-6607b21156610ed1fdc8e894de448211a4907aa8.tar.gz bcm5719-llvm-6607b21156610ed1fdc8e894de448211a4907aa8.zip | |
Adds recognition of sentinel attribute on block declarations.
llvm-svn: 71788
Diffstat (limited to 'clang/test/Sema/sentinel-attribute.c')
| -rw-r--r-- | clang/test/Sema/sentinel-attribute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/sentinel-attribute.c b/clang/test/Sema/sentinel-attribute.c index e9451b81bc6..c40f8df29c3 100644 --- a/clang/test/Sema/sentinel-attribute.c +++ b/clang/test/Sema/sentinel-attribute.c @@ -1,5 +1,5 @@ // RUN: clang-cc -fsyntax-only -verify %s -int x __attribute__((sentinel)); //expected-warning{{'sentinel' attribute only applies to function or method types}} +int x __attribute__((sentinel)); //expected-warning{{'sentinel' attribute only applies to function, method or block types}} void f1(int a, ...) __attribute__ ((sentinel)); void f2(int a, ...) __attribute__ ((sentinel(1))); |

