mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-21 05:00:23 +08:00
c++: Add test for PR 68061.
PR c++/68061 * g++.dg/concepts/attrib1.C: New.
This commit is contained in:
parent
1e166191ef
commit
acff02ef1f
6
gcc/testsuite/g++.dg/concepts/attrib1.C
Normal file
6
gcc/testsuite/g++.dg/concepts/attrib1.C
Normal file
@ -0,0 +1,6 @@
|
||||
// PR c++/68061
|
||||
// { dg-do compile { target c++11 } }
|
||||
|
||||
template <class T>
|
||||
requires true // { dg-error "requires" "" { target { ! concepts } } }
|
||||
[[deprecated]] void f(T);
|
Loading…
x
Reference in New Issue
Block a user