Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }
};