Debian Codegraph @

gcc/testsuite/g++.dg/concepts/partial-spec5.C

raw
1 // PR c++/67138
2 // { dg-do compile { target c++17 } }
3 // { dg-options "-fconcepts" }
4
5 template <class T>
6 concept _Auto = true;
7
8 template <_Auto T>
9 struct test {};
10
11 template <_Auto T>
12 requires requires (T t) { t + t; }
13 struct test<T> {};