Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
fn-concept1.C
blob: d1b4c0c59f3147717f576dfb1bada2a488d6bcf2 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
template
<
typename
T
>
concept
bool
Tuple
()
{
// { dg-error "multiple statements" }
static_assert
(
T
::
value
,
""
);
return
true
;
}
void
f
(
Tuple
&);