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..17b2a0dfeca3b2302e3c00269ffc81e52d8a7895 |
--- /dev/null |
+++ b/test/Driver/malign-double.c |
@@ -0,0 +1,7 @@ |
+// RUN: %clang -### -c -save-temps -malign-double %s \ |
Derek Schuff
2015/09/03 17:22:05
do we actually need -save-temps in the RUN line?
Petr Hosek
2015/09/03 20:44:02
We don't, removed.
|
+// RUN: -target i686-unknown-nacl 2>&1 \ |
Derek Schuff
2015/09/03 17:22:05
do we actually need to capture stderr too?
Petr Hosek
2015/09/03 20:44:02
We do because clang prints the command being run i
|
+// RUN: | FileCheck %s |
+ |
+// CHECK: -cc1 |
+// CHECK: +align-double |
+// CHECK: "-mllvm" "-malign-double" |