LoongArch: Organize the code related to split move and merge the same functions.
[official-gcc.git] / gcc / testsuite / g++.dg / template / new4.C
blob914c3c64819312bcd37013676f5337319db3d03f
1 // PR c++/27559
2 // { dg-do compile }
4 struct A
6     template<typename T>
7     static void* operator new(T) {}  // { dg-error "invalid template" }
8 // { dg-error "18:.operator new. takes type .size_t." "first" { target *-*-* } .-1 }
9 };