Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
intro6.C
blob: 233c5bcec7be3d76f4b416f2453a6f1de8c1e01d [
file
] [
log
] [
blame
]
// PR c++/67003
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
namespace
X
{
template
<class>
concept
bool
C
=
true
;
}
X
::
C
{
T
}
void
foo
()
{}
int
main
()
{
foo
<int>
();
}