diff options
Diffstat (limited to 'test/Sema/sentinel-attribute.c')
-rw-r--r-- | test/Sema/sentinel-attribute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/sentinel-attribute.c b/test/Sema/sentinel-attribute.c index c40f8df29c..4c09273967 100644 --- a/test/Sema/sentinel-attribute.c +++ b/test/Sema/sentinel-attribute.c @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: %clang_cc1 -fsyntax-only -verify %s int x __attribute__((sentinel)); //expected-warning{{'sentinel' attribute only applies to function, method or block types}} void f1(int a, ...) __attribute__ ((sentinel)); |