Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
new4.C
blob: 914c3c64819312bcd37013676f5337319db3d03f [
file
] [
log
] [
blame
]
// PR c++/27559
// { dg-do compile }
struct
A
{
template
<
typename
T
>
static
void
*
operator
new
(
T
)
{}
// { dg-error "invalid template" }
// { dg-error "18:.operator new. takes type .size_t." "first" { target *-*-* } .-1 }
};