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