aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/cloudabi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/cloudabi.cpp')
-rw-r--r--test/Driver/cloudabi.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Driver/cloudabi.cpp b/test/Driver/cloudabi.cpp
new file mode 100644
index 000000000000..c3b68ae88099
--- /dev/null
+++ b/test/Driver/cloudabi.cpp
@@ -0,0 +1,3 @@
+// RUN: %clangxx %s -### -target x86_64-unknown-cloudabi 2>&1 | FileCheck %s
+// CHECK: "-cc1" "-triple" "x86_64-unknown-cloudabi" {{.*}} "-ffunction-sections" "-fdata-sections"
+// CHECK: "-Bstatic" "--eh-frame-hdr" "--gc-sections" "-o" "a.out" "crt0.o" "crtbegin.o" "{{.*}}" "{{.*}}" "-lc++" "-lc++abi" "-lunwind" "-lc" "-lcompiler_rt" "crtend.o"