aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/windows-arm-minimal-arch.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/windows-arm-minimal-arch.c')
-rw-r--r--test/Driver/windows-arm-minimal-arch.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Driver/windows-arm-minimal-arch.c b/test/Driver/windows-arm-minimal-arch.c
new file mode 100644
index 0000000000..cf55b8f99d
--- /dev/null
+++ b/test/Driver/windows-arm-minimal-arch.c
@@ -0,0 +1,5 @@
+// RUN: not %clang -target thumbv5-windows -mcpu=arm10tdmi %s -o /dev/null 2>&1 \
+// RUN: | FileCheck %s
+
+// CHECK: error: the target architecture 'thumbv5' is not supported by the target 'thumbv5--windows-msvc'
+