We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
template <typename T> concept C0 = true; template <typename T> concept C1 = true; template <typename T> concept C2 = true; template <typename T> concept C3 = true; template <typename T> concept C4 = true; template <typename T> concept X = (C0<T> && (C2<T> && C3<T>) || (C2<T> && C4<T>) || (C3<T> && C4<T>)) || (C0<T> && (C1<T> && C2<T>) || (C1<T> && (C1<T> && C3<T>) || (C1<T> && C4<T>) || (C3<T> && C4<T>)) || (C2<T> && (C1<T> && C3<T>) || (C1<T> && C4<T>) || (C3<T> && C4<T>))) || ((C2<T> && C3<T>) || (C2<T> && C4<T>) || (C3<T> && C4<T>) && (C1<T> && C2<T>) || (C1<T> && (C1<T> && C3<T>) || (C1<T> && C4<T>) || (C3<T> && C4<T>)) || (C2<T> && (C1<T> && C3<T>) || (C1<T> && C4<T>) || (C3<T> && C4<T>))); template <typename T> concept Y = C0<T> && X<T>; int foo(X auto x) { return 10; } int foo(Y auto y) { return 20; } int bar() { return foo(0); }
https://godbolt.org/z/d1e8z7vvK
The text was updated successfully, but these errors were encountered:
@llvm/issue-subscribers-clang-frontend
Author: marco (cookiestarfish)
template <typename T> concept C1 = true;
template <typename T> concept C2 = true;
template <typename T> concept C3 = true;
template <typename T> concept C4 = true;
template <typename T> concept X = (C0<T> && (C2<T> && C3<T>) || (C2<T> && C4<T>) || (C3<T> && C4<T>)) || (C0<T> && (C1<T> && C2<T>) || (C1<T> && (C1<T> && C3<T>) || (C1<T> && C4<T>) || (C3<T> && C4<T>)) || (C2<T> && (C1<T> && C3<T>) || (C1<T> && C4<T>) || (C3<T> && C4<T>))) || ((C2<T> && C3<T>) || (C2<T> && C4<T>) || (C3<T> && C4<T>) && (C1<T> && C2<T>) || (C1<T> && (C1<T> && C3<T>) || (C1<T> && C4<T>) || (C3<T> && C4<T>)) || (C2<T> && (C1<T> && C3<T>) || (C1<T> && C4<T>) || (C3<T> && C4<T>)));
template <typename T> concept Y = C0<T> && X<T>;
int foo(X auto x) { return 10; } int foo(Y auto y) { return 20; }
int bar() { return foo(0); }
https://godbolt.org/z/d1e8z7vvK </details>
Sorry, something went wrong.
Are you running a fuzzer to get this?
No, the function is the majority5 function, I used it because it blows up in size during normalization.
No branches or pull requests
https://godbolt.org/z/d1e8z7vvK
The text was updated successfully, but these errors were encountered: