• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions -x c++ %S/Inputs/pr27445.h -emit-pch -o %t.pch
2 // RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions %s -include-pch %t.pch -emit-llvm -o - | FileCheck %s
3 
4 class A;
fn1(A &)5 void fn1(A &) {}
6 
7 class __declspec(dllexport) A {
operator =(A)8   int operator=(A) { return field_; }
9   void (*on_arena_allocation_)(Info);
10   int field_;
11 };
12 
13 // CHECK: %class.A = type { void (%struct.Info*)*, i32 }
14 // CHECK: %struct.Info = type { i32 (...)** }
15