You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
305 B
9 lines
305 B
4 months ago
|
// RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -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; }
|