1 // RUN: %clang_cc1 -emit-llvm -triple x86_64-linux-gnu -std=c++11 -o - %s | FileCheck %s 2 3 using size_t = decltype(sizeof(0)); 4 5 extern "C" char *something(long long x) { 6 } 7 8 // CHECK: @_Znwm = alias i8* (i64), i8* (i64)* @something 9 void *operator new(size_t) __attribute__((alias("something"))); 10 11 // PR16715: don't assert here. 12 // CHECK: call i8* @_Znwm(i64 4){{$}} 13 int *pr16715 = new int; 14