//! > Test expansion of double indirection plugin.
//! > test_runner_name
test_general_plugin(expect_diagnostics: true)
//! > cairo_code
#[first]
struct X {}
//! > expanded_cairo_code
#[first]
struct X {}
#[second] struct A {}
struct B {}
//! > expected_diagnostics
error: Double indirection diagnostic
--> test_src/lib.cairo:1:1-2:2
#[first]
_^
| struct X {}
|__^
note: first note
note: second note