comparison gcc/testsuite/g++.dg/concepts/partial-concept-id2.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 // { dg-options "-std=c++17 -fconcepts" }
2
3 // Make sure that we check partial concept ids
4 // with variable concepts.
5
6 template<class A, class B>
7 concept bool C = true;
8
9 template<C<int> D>
10 struct E
11 {
12 int f = 0;
13 };
14
15 E<double> e;