1// RUN: %clang_cc1 -emit-llvm-only -verify %s 2// PR5454 3#include <stddef.h> 4 5struct X {static void * operator new(size_t size) throw(); X(int); }; 6int a(), b(); 7void b(int x) 8{ 9 new X(x ? a() : b()); 10} 11 12