Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / flip-dllimport.c
blobfcc1689f6aa7cf2548fd8ac0e36e0f66b3f0fde7
1 // RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions -emit-llvm -o - %s | FileCheck %s
3 __declspec(dllimport) void f(void);
4 void g(void) { f(); } // use it
6 // CHECK: define dso_local dllexport void @f
7 void f(void) { }