Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
deleted13.C
blob: ce915a840e9081693255eddf998e14ce644fa78f [
file
] [
log
] [
blame
]
// PR c++/79519
// { dg-do compile { target c++11 } }
struct
A
{
template
<typename>
void
foo
();
};
struct
B
{
template
<typename>
friend
void
A
::
foo
()
=
delete
;
// { dg-error "34:cannot define" }
};