]> git.lizzy.rs Git - rust.git/commitdiff
Add a test for #2003
authortopecongiro <seuchida@gmail.com>
Thu, 28 Sep 2017 11:15:33 +0000 (20:15 +0900)
committertopecongiro <seuchida@gmail.com>
Thu, 28 Sep 2017 11:15:33 +0000 (20:15 +0900)
tests/source/fn-simple.rs
tests/target/fn-simple.rs

index e3d489411ad2815698625685b71feb9f8b26bf90..880566d3d916d5ee79e35ab99644185e2d5b0878 100644 (file)
@@ -52,3 +52,10 @@ pub fn waltz(cwd: &Path) -> CliAssert {
         }
     }
 }
+
+// #2003
+mod foo {
+    fn __bindgen_test_layout_i_open0_c_open1_char_a_open2_char_close2_close1_close0_instantiation() {
+        foo();
+    }
+}
index 06b0fecab4618fd96d3ab0bdd6aead6f5c2d0533..000c62310c8bfad29b95441a4eeb05e4d64f17f3 100644 (file)
@@ -93,3 +93,11 @@ pub fn waltz(cwd: &Path) -> CliAssert {
         }
     }
 }
+
+// #2003
+mod foo {
+    fn __bindgen_test_layout_i_open0_c_open1_char_a_open2_char_close2_close1_close0_instantiation()
+    {
+        foo();
+    }
+}