]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/string-lit.rs
Tidy up and pass tests
[rust.git] / tests / target / string-lit.rs
index bbca3fe097e7a04070f4a181b278431244a89e5d..f60002ac618d3277c4e0d14b2dcc6528c4571a81 100644 (file)
@@ -1,4 +1,4 @@
-// rustfmt-force_format_strings: true
+// rustfmt-format_strings: true
 // rustfmt-error_on_line_overflow: false
 // Long string literals
 
@@ -42,8 +42,10 @@ fn issue682() {
 }
 
 fn issue716() {
-    println!("forall x. mult(e(), x) = x /\\
-              forall x. mult(x, x) = e()");
+    println!(
+        "forall x. mult(e(), x) = x /\\
+              forall x. mult(x, x) = e()"
+    );
 }
 
 fn issue_1282() {
@@ -55,3 +57,8 @@ fn issue_1282() {
         }
     }
 }
+
+// #1987
+#[link_args = "-s NO_FILESYSTEM=1 -s NO_EXIT_RUNTIME=1 -s EXPORTED_RUNTIME_METHODS=[\"_malloc\"] \
+               -s NO_DYNAMIC_EXECUTION=1 -s ELIMINATE_DUPLICATE_FUNCTIONS=1 -s EVAL_CTORS=1"]
+extern "C" {}