Skip to content

Commit

Permalink
test: add test case for google#1371
Browse files Browse the repository at this point in the history
  • Loading branch information
b0o committed Jan 27, 2025
1 parent 0988d44 commit baa5d61
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions integration-tests/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12456,6 +12456,16 @@ fn test_double_template_w_default() {
run_test("", hdr, quote! {}, &["Problem"], &[]);
}

#[test]
fn test_class_named_string() {
let hdr = indoc! {"
namespace a {
class String {};
} // namespace a
"};
run_test("", hdr, quote! {}, &["a::String"], &[]);
}

// Yet to test:
// - Ifdef
// - Out param pointers
Expand Down

0 comments on commit baa5d61

Please sign in to comment.