Skip to content

Commit

Permalink
Fix TestMoveNearest on Windows
Browse files Browse the repository at this point in the history
The header file for the DLL tried to declare inline functions and a local
function as dllexport which broke the compile and link.  Removing the bad
declarations solves the problem, and the test passes on Windows now.

Differential Revision: https://reviews.llvm.org/D43600

llvm-svn: 325836
  • Loading branch information
amccarth-google committed Feb 22, 2018
1 parent 3db5d7e commit 7de4500
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
LLDB_TEST_API inline int foo1() { return 1; } // !BR1
inline int foo1() { return 1; } // !BR1

LLDB_TEST_API inline int foo2() { return 2; } // !BR2
inline int foo2() { return 2; } // !BR2

LLDB_TEST_API extern int call_foo1();
LLDB_TEST_API extern int call_foo2();

0 comments on commit 7de4500

Please sign in to comment.