c++: change -fconcepts to mean C++20 concepts
[official-gcc.git] / gcc / testsuite / g++.dg / concepts / debug1.C
blobfb48567249f00680613d220eaff42ad0c39b09f0
1 // PR c++/84551
2 // { dg-do compile { target c++17_only } }
3 // { dg-options "-fconcepts-ts" }
5 template<typename> concept bool C() { return true; }
7 template<template<typename T> requires C<T>() class TT> struct A {};
9 template<typename U> requires C<U>() struct B {};
11 A<B> a;