Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
new6.C
blob: 4db068512bd9bf2a6dc5d95e6d6ead2fca9c0354 [
file
] [
log
] [
blame
]
// PR c++/27713
// { dg-do compile }
struct
A
{
template
<int>
friend
void
*
operator
new
(
__SIZE_TYPE__
);
// { dg-error "invalid template" }
};