Skip to content

Commit c66560f

Browse files
committed
Add a test for #2003
1 parent ee2b3b1 commit c66560f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

tests/source/fn-simple.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,10 @@ pub fn waltz(cwd: &Path) -> CliAssert {
5252
}
5353
}
5454
}
55+
56+
// #2003
57+
mod foo {
58+
fn __bindgen_test_layout_i_open0_c_open1_char_a_open2_char_close2_close1_close0_instantiation() {
59+
foo();
60+
}
61+
}

tests/target/fn-simple.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,11 @@ pub fn waltz(cwd: &Path) -> CliAssert {
9393
}
9494
}
9595
}
96+
97+
// #2003
98+
mod foo {
99+
fn __bindgen_test_layout_i_open0_c_open1_char_a_open2_char_close2_close1_close0_instantiation()
100+
{
101+
foo();
102+
}
103+
}

0 commit comments

Comments
 (0)