blob: d4c698d06381bbae1fc095b8d839c914a92682f6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// RUN: clang-cc -emit-llvm-only -verify %s
// PR5454
class X {static void * operator new(unsigned size) throw(); X(int); };
int a(), b();
void b(int x)
{
new X(x ? a() : b());
}
|