aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Parser/gh110231.cpp
blob: b1405517505ff74dfbd52512f39a7c0aea5f905d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: seq 100 | xargs -Ifoo %clang_cc1 -std=c++20 -fsyntax-only -verify %s
// expected-no-diagnostics
// This is a regression test for a non-deterministic stack-overflow.

template < typename >
concept C1 = true;

template < typename , auto >
concept C2 = true;

template < C1 auto V, C2< V > auto>
struct S;