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