]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/format_strings/issue-687.rs
Rollup merge of #84758 - ChrisDenton:dllimport, r=dtolnay
[rust.git] / src / tools / rustfmt / tests / target / format_strings / issue-687.rs
1 // rustfmt-format_strings: true
2
3 fn foo() -> &'static str {
4     let sql = "ATTACH DATABASE ':memory:' AS my_attached;
5                BEGIN;
6                CREATE TABLE my_attached.foo(x INTEGER);
7                INSERT INTO my_attached.foo VALUES(42);
8                END;";
9     sql
10 }