comparison gcc/testsuite/g++.dg/concepts/partial-spec5.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 // PR c++/67138
2 // { dg-options "-std=c++17 -fconcepts" }
3
4 template <class T>
5 concept bool _Auto = true;
6
7 template <_Auto T>
8 struct test {};
9
10 template <_Auto T>
11 requires requires (T t) { t + t; }
12 struct test<T> {};