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