]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Rewriter/missing-dllimport.c
Vendor import of clang trunk r238337:
[FreeBSD/FreeBSD.git] / test / Rewriter / missing-dllimport.c
1 // RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -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);
8 inline int __cdecl foo() { return 0; }