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
* decl.c (get_atexit_fn_ptr_type): New function.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
new10.C
1
// PR c++/14452
2
// We got confused trying to preevaluate the new-initializer.
3
4
struct S {};
5
void foo (bool b)
6
{
7
new S(b ? S() : S());
8
}