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

Generator results into a fatal error in 2.13.9 (newest not tested) #2809

Open
Viatorus opened this issue Feb 6, 2024 · 0 comments
Open

Generator results into a fatal error in 2.13.9 (newest not tested) #2809

Viatorus opened this issue Feb 6, 2024 · 0 comments

Comments

@Viatorus
Copy link

Viatorus commented Feb 6, 2024

Describe the bug

The following code results in a fatal error.

TEST_CASE("Generator test") {
  SECTION("a") {
    SECTION("aa") {}
    SECTION("ab") {}
  }
  SECTION("b") {}

  GENERATE(true, false);
}

Expected behavior

No error at all.

Reproduction steps

Build and run the example above

Platform information:

  • OS: Linux
  • Compiler+version: GCC v11.3
  • Catch version: v2.13.9

Additional context
Add any other context about the problem here.

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