[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git] / clang / test / Rewriter / missing-dllimport.c
blob33e4701630faaff74419dd3041f5e77bbcbb6c44
1 // RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -verify %s
3 // Do not report that 'foo()' is redeclared without dllimport attribute.
4 // specified.
6 // expected-no-diagnostics
7 __declspec(dllimport) int __cdecl foo(void);
8 inline int __cdecl foo() { return 0; }