repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
LoongArch: Organize the code related to split move and merge the same functions.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
new4.C
blob
914c3c64819312bcd37013676f5337319db3d03f
1
// PR c++/27559
2
// { dg-do compile }
3
4
struct A
5
{
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
};