[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenCXX / type-cache-2.cpp
blob1f1472a0ebac1eadebb0fb5d16ad922b2a4ae471
1 // RUN: %clang_cc1 -emit-llvm %s -o - -triple i386-pc-windows-msvc19.16.0 | FileCheck %s
2 // REQUIRES: asserts, x86-registered-target
4 // CHECK: call void @"?dc@z@@SAXU1@@Z"
5 struct z {
6 static void dc(z);
7 void (*p)(z);
8 };
10 void f() {
11 z::dc({});