]> git.lizzy.rs Git - rust.git/blobdiff - tests/source/fn-simple.rs
Add a test for #2003
[rust.git] / tests / source / fn-simple.rs
index e11df34ad86da36c539d7c4e7f2028db5fe2d761..880566d3d916d5ee79e35ab99644185e2d5b0878 100644 (file)
@@ -51,5 +51,11 @@ pub fn waltz(cwd: &Path) -> CliAssert {
             formatted_comment = rewrite_comment(comment, block_style, width, offset, formatting_fig);
         }
     }
+}
 
+// #2003
+mod foo {
+    fn __bindgen_test_layout_i_open0_c_open1_char_a_open2_char_close2_close1_close0_instantiation() {
+        foo();
+    }
 }