Index: test/Driver/malign-double.c |
diff --git a/test/Driver/malign-double.c b/test/Driver/malign-double.c |
index 81c087909223042c62a80c8793730ebb56791243..27fecfa8d793c4aa2004df82ef70016a70852fd0 100644 |
--- a/test/Driver/malign-double.c |
+++ b/test/Driver/malign-double.c |
@@ -1,13 +1,22 @@ |
-// RUN: %clang -### -c -malign-double %s -target i686-unknown-linux 2>&1 \ |
+// RUN: %clang -v -c -malign-double %s -target i686-unknown-linux 2>&1 \ |
// RUN: | FileCheck --check-prefix=CHECK-I686 %s |
// CHECK-I686: -cc1 |
-// CHECK-I686: +align-double |
-// CHECK-I686: "-mllvm" "-malign-double" |
+// CHECK-I686: -mllvm -malign-double |
+// CHECK-I686-NOT: backend data layout {{'[^']+'}} does not match expected target description {{'[^']+'}} |
-// RUN: %clang -### -c -malign-double %s -target x86-64-unknown-linux 2>&1 \ |
-// RUN: | FileCheck -check-prefix=CHECK-X86_64 %s |
+// RUN: %clang -v -c -malign-double %s -target x86_64-unknown-linux 2>&1 \ |
+// RUN: | FileCheck --check-prefix=CHECK-X86_64 %s |
// CHECK-X86_64: -cc1 |
-// CHECK-X86_64-NOT: +align-double |
-// CHECK-X86_64-NOT: "-mllvm" "-malign-double" |
+// CHECK-X86_64: -mllvm -malign-double |
+ |
+// RUN: not %clang -v -c -mno-align-double %s -target i686-unknown-linux 2>&1 \ |
+// RUN: | FileCheck --check-prefix=CHECK-NO-I686 %s |
+ |
+// CHECK-NO-I686: unknown argument: '-mno-align-double' |
+ |
+// RUN: not %clang -v -c -mno-align-double %s -target x86_64-unknown-linux 2>&1 \ |
+// RUN: | FileCheck --check-prefix=CHECK-NO-X86_64 %s |
+ |
+// CHECK-NO-X86_64: unknown argument: '-mno-align-double' |