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