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

[PARSE BUG]: messed up enum thing #67

Open
virtuald opened this issue Sep 24, 2023 · 0 comments
Open

[PARSE BUG]: messed up enum thing #67

virtuald opened this issue Sep 24, 2023 · 0 comments

Comments

@virtuald
Copy link
Member

Problem description

Was playing in godbolt and got this to work, but I can't imagine why you'd ever want to do this.

C++ code that can't be parsed correctly (please double-check that https://robotpy.github.io/cxxheaderparser/ has the same error)

template <typename T>
class C;


template <typename T>
class C {
public:
    enum class E;
};

template <typename T>
enum class C<T>::E { A };
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