summaryrefslogtreecommitdiff
path: root/test/Driver/debug-options-as.c
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-12-31 02:36:23 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-12-31 02:36:23 +0000
commit868f65c6bf904591f62a0d69866825d2d3dfd16f (patch)
treee7b8f874ffe14568426283b67d26604e2940842a /test/Driver/debug-options-as.c
parent4debc82d9d967501b8650599cd44003d7026f56c (diff)
downloadclang-868f65c6bf904591f62a0d69866825d2d3dfd16f.tar.gz
Split out clang/test/Driver/debug-options-as.c from debug-options.c, and mark it as XFAIL: mingw32.
Mingw32 target has not supported integrated-as yet. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147386 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/debug-options-as.c')
-rw-r--r--test/Driver/debug-options-as.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Driver/debug-options-as.c b/test/Driver/debug-options-as.c
new file mode 100644
index 0000000000..0159e16302
--- /dev/null
+++ b/test/Driver/debug-options-as.c
@@ -0,0 +1,10 @@
+// Check to make sure clang with -g on a .s file gets passed.
+// rdar://9275556
+// RUN: touch %t.s
+// RUN: %clang -### -c -g %t.s 2>&1 | FileCheck -check-prefix=S %s
+//
+// mingw has not supported integrated-as yet.
+// XFAIL: mingw32
+//
+// S: "-cc1as"
+// S: "-g"