Index: test/Driver/malign-double.c |
diff --git a/test/Driver/malign-double.c b/test/Driver/malign-double.c |
new file mode 100644 |
index 0000000000000000000000000000000000000000..81c087909223042c62a80c8793730ebb56791243 |
--- /dev/null |
+++ b/test/Driver/malign-double.c |
@@ -0,0 +1,13 @@ |
+// RUN: %clang -### -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" |
+ |
+// RUN: %clang -### -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" |