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