diff options
Diffstat (limited to 'test/Sema/attr-msp430.c')
-rw-r--r-- | test/Sema/attr-msp430.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Sema/attr-msp430.c b/test/Sema/attr-msp430.c index d08cd8e..26b2d8f 100644 --- a/test/Sema/attr-msp430.c +++ b/test/Sema/attr-msp430.c @@ -1,6 +1,6 @@ -// RUN: %clang_cc1 -triple msp430-unknown-unknown -fsyntax-only -verify %s
-
-int i;
-void f(void) __attribute__((interrupt(i))); /* expected-error {{'interrupt' attribute requires an integer constant}} */
-
-void f2(void) __attribute__((interrupt(12)));
+// RUN: %clang_cc1 -triple msp430-unknown-unknown -fsyntax-only -verify %s + +int i; +void f(void) __attribute__((interrupt(i))); /* expected-error {{'interrupt' attribute requires an integer constant}} */ + +void f2(void) __attribute__((interrupt(12))); |