aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Sema/unsupported-arm-streaming.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/unsupported-arm-streaming.cpp')
-rw-r--r--clang/test/Sema/unsupported-arm-streaming.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Sema/unsupported-arm-streaming.cpp b/clang/test/Sema/unsupported-arm-streaming.cpp
new file mode 100644
index 0000000..8693dd6
--- /dev/null
+++ b/clang/test/Sema/unsupported-arm-streaming.cpp
@@ -0,0 +1,3 @@
+// RUN: %clang_cc1 -x c -triple x86_64-pc-linux-gnu -fsyntax-only -verify %s
+
+void arm_streaming(void) __arm_streaming {} // expected-error {{'__arm_streaming' is not supported on this target}}