2014-11-24 09:15:30 +00:00
|
|
|
// RUN: %clang_cc1 -triple i686-pc-win32 -verify %s
|
2010-03-03 17:28:16 +00:00
|
|
|
|
2014-11-24 09:15:30 +00:00
|
|
|
// Do not report that 'foo()' is redeclared without dllimport attribute.
|
2010-03-03 17:28:16 +00:00
|
|
|
// specified. Addresses <rdar://problem/7653912>.
|
|
|
|
|
2014-11-24 09:15:30 +00:00
|
|
|
// expected-no-diagnostics
|
2010-03-03 17:28:16 +00:00
|
|
|
__declspec(dllimport) int __cdecl foo(void);
|
|
|
|
inline int __cdecl foo() { return 0; }
|