Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cpp] Recursive structs in a template context #1782

Open
intrigus-lgtm opened this issue Apr 14, 2024 · 0 comments
Open

[cpp] Recursive structs in a template context #1782

intrigus-lgtm opened this issue Apr 14, 2024 · 0 comments

Comments

@intrigus-lgtm
Copy link
Contributor

Unfortunately this is still not a complete fix :(

template <typename> struct a;
struct b;
template <typename> struct a { b *c; };
struct b : a<int> {};

(Basically the original testcase but this time with templates)

Fails again with

Assertion `type.id() == typet::t_struct || type.id() == typet::t_union || type.id() == typet::t_class' failed.

Originally posted by @intrigus-lgtm in #1781 (comment)

intrigus-lgtm pushed a commit to intrigus-lgtm/esbmc that referenced this issue Apr 14, 2024
intrigus-lgtm pushed a commit to intrigus-lgtm/esbmc that referenced this issue Apr 14, 2024
intrigus-lgtm pushed a commit to intrigus-lgtm/esbmc that referenced this issue Apr 14, 2024
intrigus-lgtm pushed a commit to intrigus-lgtm/esbmc that referenced this issue Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant