Skip to content

Commit 220c4b8

Browse files
committed
Add back test that was in the wrong directory
1 parent 21d6e45 commit 220c4b8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

clang/test/Sema/missing-dllimport.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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.
5+
6+
// expected-no-diagnostics
7+
__declspec(dllimport) int __cdecl foo(void);
8+
inline int __cdecl foo() { return 0; }

0 commit comments

Comments
 (0)