Skip to content

Commit

Permalink
Add failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
d2weber committed Aug 30, 2023
1 parent 762dbf3 commit 51c0150
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions integration-tests/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4217,6 +4217,20 @@ fn test_nested_enum_in_namespace() {
run_test("", hdr, rs, &["take_A_B"], &[]);
}

#[test]
fn test_abstract_subclass() {
let hdr = indoc! {"
struct A
{
virtual int f() = 0;
};
struct B : virtual public A {};
"};
let rs = quote! {};
run_test("", hdr, rs, &["B"], &[]);
}

#[test]
fn test_abstract_nested_type() {
let hdr = indoc! {"
Expand Down

0 comments on commit 51c0150

Please sign in to comment.