summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/concepts/partial-spec5.C
blob: 32a5eae693c1534045730e361a40011d25fd61c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/67138
// { dg-options "-std=c++1z -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> {};