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