Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
deleted5.C
blob: 51010efda7854f6c5ad9827d107dab0c09690df3 [
file
] [
log
] [
blame
]
// PR c++/58582
// { dg-do compile { target c++11 } }
struct
A
{
template
<int>
void
foo
()
=
delete
;
};
template
<int>
void
A
::
foo
()
{}
// { dg-error "redefinition" }
template
void
A
::
foo
<
0
>();