2022-04-07 18:03:55 +08:00
|
|
|
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-windows-msvc -fms-extensions -x c++ %S/Inputs/pr27445.h -emit-pch -o %t.pch
|
|
|
|
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-windows-msvc -fms-extensions %s -include-pch %t.pch -emit-llvm -o - | FileCheck %s
|
2016-04-23 02:46:33 +08:00
|
|
|
|
|
|
|
class A;
|
|
|
|
void fn1(A &) {}
|
|
|
|
|
|
|
|
class __declspec(dllexport) A {
|
|
|
|
int operator=(A) { return field_; }
|
|
|
|
void (*on_arena_allocation_)(Info);
|
|
|
|
int field_;
|
|
|
|
};
|
|
|
|
|
|
|
|
// CHECK: %class.A = type { void (%struct.Info*)*, i32 }
|
|
|
|
// CHECK: %struct.Info = type { i32 (...)** }
|