aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/prefixed-tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/prefixed-tools.c')
-rw-r--r--test/Driver/prefixed-tools.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Driver/prefixed-tools.c b/test/Driver/prefixed-tools.c
new file mode 100644
index 0000000000..1fc3d8f6a6
--- /dev/null
+++ b/test/Driver/prefixed-tools.c
@@ -0,0 +1,14 @@
+// RUN: env PATH=%s-helper %clang -no-integrated-as -target x86_64--linux %s -o - > %t.log
+// RUN: env PATH=%s-helper %clang -no-integrated-as -m32 -target x86_64--linux %s -o - >> %t.log
+// RUN: FileCheck -input-file %t.log %s
+
+// CHECK: x86_64--linux-as called
+// CHECK: x86_64--linux-ld called
+// CHECK: x86_64--linux-as called
+// CHECK: x86_64--linux-ld called
+
+int
+main(void)
+{
+ return 0;
+} \ No newline at end of file