1*67e74705SXin Li // RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -verify %s 2*67e74705SXin Li 3*67e74705SXin Li // Do not report that 'foo()' is redeclared without dllimport attribute. 4*67e74705SXin Li // specified. Addresses <rdar://problem/7653912>. 5*67e74705SXin Li 6*67e74705SXin Li // expected-no-diagnostics 7*67e74705SXin Li __declspec(dllimport) int __cdecl foo(void); foo()8*67e74705SXin Liinline int __cdecl foo() { return 0; } 9