summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/concepts/partial-spec5.C
blob: 18ef242c27144169538aa8d820a8f07f982f160a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/67138
// { dg-options "-std=c++17 -fconcepts" }

template <class T>
concept bool _Auto = true;

template <_Auto T>
struct test {};

template <_Auto T>
  requires requires (T t) { t + t; }
struct test<T> {};