mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-25 06:18:56 -04:00

Note: __declspec is also temporarily enabled when compiling for a CUDA target because there are implementation details relying on __declspec(property) support currently. When those details change, __declspec should be disabled for CUDA targets. llvm-svn: 238238
9 lines
305 B
C
9 lines
305 B
C
// 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; }
|