summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/sentinel-attribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/sentinel-attribute.c')
-rw-r--r--clang/test/Sema/sentinel-attribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/sentinel-attribute.c b/clang/test/Sema/sentinel-attribute.c
index 37d0adc5966..e9451b81bc6 100644
--- a/clang/test/Sema/sentinel-attribute.c
+++ b/clang/test/Sema/sentinel-attribute.c
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
int x __attribute__((sentinel)); //expected-warning{{'sentinel' attribute only applies to function or method types}}
void f1(int a, ...) __attribute__ ((sentinel));
OpenPOWER on IntegriCloud