OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2010-01-26 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
new-size-type.C
1
// Contributed by Dodji Seketeli <dodji@redhat.com>
2
// Origin: PR c++/36741
3
4
#include <stddef.h>
5
const char*
6
foo()
7
{
8
return new char[~static_cast<size_t>(0)];// { dg-bogus "large" }
9
}
10