9 lines
305 B
C
9 lines
305 B
C
|
// RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -verify %s
|
||
|
|
||
|
// Do not report that 'foo()' is redeclared without dllimport attribute.
|
||
|
// specified. Addresses <rdar://problem/7653912>.
|
||
|
|
||
|
// expected-no-diagnostics
|
||
|
__declspec(dllimport) int __cdecl foo(void);
|
||
|
inline int __cdecl foo() { return 0; }
|