blob: a09ebff44db66eb0df7c37a1fd468ec808c4e4ff [file] [log] [blame]
// RUN: %clang_cc1 -triple i686-pc-win32 -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; }