2015-05-27 03:44:52 +08:00
|
|
|
// RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -verify %s
|
2010-02-21 13:12:53 +08:00
|
|
|
|
2014-05-22 23:46:15 +08:00
|
|
|
// Do not report that 'foo()' is redeclared without dllimport attribute.
|
2010-02-21 13:12:53 +08:00
|
|
|
// specified. Addresses <rdar://problem/7653912>.
|
|
|
|
|
2014-05-22 23:46:15 +08:00
|
|
|
// expected-no-diagnostics
|
2010-02-21 13:12:53 +08:00
|
|
|
__declspec(dllimport) int __cdecl foo(void);
|
|
|
|
inline int __cdecl foo() { return 0; }
|