aboutsummaryrefslogtreecommitdiff
path: root/test/Misc/ast-dump-msp430-attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Misc/ast-dump-msp430-attr.c')
-rw-r--r--test/Misc/ast-dump-msp430-attr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Misc/ast-dump-msp430-attr.c b/test/Misc/ast-dump-msp430-attr.c
new file mode 100644
index 000000000000..170e0bef9d99
--- /dev/null
+++ b/test/Misc/ast-dump-msp430-attr.c
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -triple msp430-unknown-unknown -ast-dump -ast-dump-filter Test %s | FileCheck --strict-whitespace %s
+
+__attribute__((interrupt(12))) void Test(void);
+// CHECK: FunctionDecl{{.*}}Test
+// CHECK-NEXT: MSP430InterruptAttr