xref: /llvm-project/clang/test/Parser/gh110231.cpp (revision c2d7e96cde10a0da6fff8dde9473b508f0ef29ba)
1 // RUN: seq 100 | xargs -Ifoo %clang_cc1 -std=c++20 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 // This is a regression test for a non-deterministic stack-overflow.
4 
5 template < typename >
6 concept C1 = true;
7 
8 template < typename , auto >
9 concept C2 = true;
10 
11 template < C1 auto V, C2< V > auto>
12 struct S;
13