brintos

brintos / llvm-project-archived public Read only

0
0
Text · 355 B · 3410f15 Raw
17 lines · plain
1// Regression test for the crash in2// https://github.com/llvm/llvm-project/issues/545373//4// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s5// expected-no-diagnostics6 7template< class T > inline constexpr bool test_v = true;8 9template <typename T>10struct A {11    A(const T = 1 ) requires test_v<T>;12};13 14struct B :  A<int> {15    using A<int>::A;16};17