Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
abbrev7.C
blob: 443c1b7871bf7294d7d37eb47325232c6280f446 [
file
] [
log
] [
blame
]
// PR c++/96106
// { dg-do compile { target concepts } }
template
<typename>
struct
number
{
friend
void
add
(
auto
);
};
void
add
(
auto
)
{
}
void
foo
()
{
number
<int>
n
;
add
(
n
);
// { dg-bogus "ambiguous" }
}