Debian Codegraph @

clang/test/CodeGenCXX/placement-new-ms-__noop.cpp

raw
1 // RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions -std=c++11 -emit-llvm -o - %s | FileCheck %s
2
3 struct S {
4 void* operator new(__SIZE_TYPE__, int);
5 };
6
7 int main() {
8 // CHECK: call {{.*}} ptr @"??2S@@SAPEAX_KH@Z"(i64 {{.*}} 1, i32 {{.*}} 0)
9 // CHECK: call {{.*}} ptr @"??2S@@SAPEAX_KH@Z"(i64 {{.*}} 1, i32 {{.*}} 0)
10 new (__noop) S;
11 new ((__noop)) S;
12 }