aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/avr-toolchain.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/avr-toolchain.c')
-rw-r--r--test/Driver/avr-toolchain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Driver/avr-toolchain.c b/test/Driver/avr-toolchain.c
new file mode 100644
index 000000000000..46a3c10fa3a1
--- /dev/null
+++ b/test/Driver/avr-toolchain.c
@@ -0,0 +1,4 @@
+// A basic clang -cc1 command-line.
+
+// RUN: %clang %s -### -no-canonical-prefixes -target avr 2>&1 | FileCheck -check-prefix=CC1 %s
+// CC1: clang{{.*}} "-cc1" "-triple" "avr"