Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
b6e0edc4d0b1cf6315df288ccab6c51c47113398
/
.
/
test
/
CodeGenCXX
/
new-operator-phi.cpp
blob: 38467ad31f9bcd2c7d5a1db004b204e30fa24e8f [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm-only -verify %s
// PR5454
#include
<stddef.h>
class
X
{
static
void
*
operator
new
(
size_t
size
)
throw
();
X
(
int
);
};
int
a
(),
b
();
void
b
(
int
x
)
{
new
X
(
x
?
a
()
:
b
());
}