+// rustfmt-format_strings: true
// Long string literals
fn main() -> &'static str {
remove
formatting"#;
- "stuff"
+ filename.replace(" ", "\\" );
+
+ let xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx =
+ funktion("yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy");
+
+ let unicode = "a̐éö̲\r\n";
+ let unicode2 = "Löwe 老虎 Léopard";
+ let unicode3 = "中华Việt Nam";
+ let unicode4 = "☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃☃";
+
+ "stuffin'"
}
+
+fn issue682() {
+ let a = "hello \\ o/";
+ let b = a.replace("\\ ", "\\");
+}
+
+fn issue716() {
+ println!("forall x. mult(e(), x) = x /\\
+ forall x. mult(x, x) = e()");
+}
+
+fn issue_1282() {
+ {
+ match foo {
+ Permission::AndroidPermissionAccessLocationExtraCommands => {
+ "android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
+ }
+ }
+ }
+}
+
+// #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" {}