Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
concept-3_b.C
blob: 46bfe039956a8f26c095ea221bc63cc6a0e6ff71 [
file
] [
log
] [
blame
]
// { dg-additional-options "-fmodules-ts -std=c++2a" }
import
foo
;
template
<
foo
::
Addable
T
>
T
Add
(
T a
,
T b
)
{
return
a
+
b
;
}
void
frob
()
{
Add
(
1
,
2
);
Add
((
int
*)
0
,
(
int
*)
0
);
// { dg-error "no match" }
}