repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
init
/
new13.C
blob
3563c48808fcff8ba4e42ab1aeb5c20e877ec843
1
// PR c++/22508
2
// ICE on invalid operator new
3
// Origin: Flash Sheridan <flash@pobox.com>
4
// { dg-do compile }
5
6
struct A
7
{
8
void* operator new(__SIZE_TYPE__) throw(X); // { dg-error "" }
9
};
10
11
A* p = new A; // { dg-error "no suitable" }