OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
235cbfb87e12b29c7d49ce6d23eab186664e4778
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
net46.C
1
#include <iostream.h>
2
#include <stddef.h>
3
#include <new>
4
5
int fail = 1;
6
7
static void *operator new(size_t size) throw (std::bad_alloc) {
8
--fail;
9
return (void*) 0;
10
}
11
12
main() {
13
cout << "";
14
new int;
15
return fail;
16
}