Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/concepts/debug1.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children | 1830386684a0 |
rev | line source |
---|---|
131 | 1 // PR c++/84551 |
2 // { dg-do compile { target c++17 } } | |
3 // { dg-options "-g -O -fconcepts" } | |
4 | |
5 template<typename> concept bool C() { return true; } | |
6 | |
7 template<template<typename T> requires C<T>() class> struct A {}; | |
8 | |
9 template<typename> requires true struct B {}; | |
10 | |
11 A<B> a; |